Part Number Hot Search : 
C847B A114Y C3148 W25X40BV C8051F2 V375C FAN5401 SMB5932B
Product Description
Full Text Search
 

To Download DSP56001 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  24-bit general purpose digital signal processor the DSP56001 is a member of motorolas family of hcmos, low-power, general purpose digital signal processors. the DSP56001 features 512 words of full speed, on-chip program ram (pram) memory, two 256 word data rams, two preprogrammed data roms, and special on-chip bootstrap hardware to per- mit convenient loading of user programs into the pro- gram ram. it is an off-the-shelf part since the program DSP56001 order this document by DSP56001/d this document contains information on a new product. specifications and information herein are subject to change without notice . ? motorola inc., 1992 motorola technical data semiconductor memory is user programmable. the core of the processor consists of three execution units operating in parallel the data alu, the address generation unit, and the program controller. the DSP56001 has mcu-style on-chip peripherals, program and data memory, as well as a memory expansion port. the mpu-style programming model and instruction set make writing efficient, com- pact code, straightforward. the high throughput of the DSP56001 makes it well-suited for communication, high-speed control, numeric processing, computer and audio applications. the key features which facilitate this throughput are: pin grid array (pga) available in an 88 pin ceramic through-hole package. ceramic quad flat pack (cqfp) available in a 132 pin, small footprint, surface mount package. ? speed at 16.5 million instructions per second (mips) with a 33 mhz clock, the DSP56001 can execute a 1024 point complex fast fourier transform in1.98 milliseconds (66,240 clock cycles). ? precision the data paths are 24 bits wide thereby providing 144 db of dynamic range; intermediate results held in the 56-bit accumulators can range over 336 db. ? parallelism the data alu, address arithmetic units, and program controller operate in parallel so that an in- struction prefetch, a 24x24-bit multiplication, a 56-bit addition, two data moves, and two address pointer updates using one of three types of arithmetic (linear, modulo, or reverse carry) can be executed in a single instruction cycle. this parallelism allows a four coefficient infinite impulse re- sponse (iir) filter section to be executed in only four cycles, the theoretical minimum for a single multiplier architecture. ? integration in addition to the three independent execution units, the DSP56001 has six on-chip memories, three on-chip mcu style peripherals (serial communication interface, synchronous serial inter- face, and host interface), a clock generator and seven buses (three address and four data), mak- ing the overall system functionally complete and powerful, but also very low cost, low power, and compact. ? invisible pipeline the three-stage instruction pipeline is essentially invisible to the programmer thus allowing straightforward program development in either assembly language or a high-level language such as ansi c. ? instruction set the 62 instruction mnemonics are mcu-like making the transition from programming micropro- cessors to programming the DSP56001 digital signal processor as easy as possible. the orthog- onal syntax supports control of the parallel execution units. this syntax provides 12,808,830 dif- ferent instruction variations using the 62 instruction mnemonics. the no-overhead do instruction and the repeat (rep) instruction make writing straight-line code obsolete. ? dsp56000/DSP56001 the DSP56001 is identical to the dsp56000 except that it has 512x24-bits of on-chip program ram instead of 3.75k of program rom; a 32x24-bit bootstrap rom for loading the program ram from either a byte-wide memory mapped rom or via the host interface; and the on-chip x and y data roms have been preprogrammed as positive mu- and a-law to linear expansion tables and a full, four quadrant sine wave table, respectively. ? low power as a cmos part, the DSP56001 is inherently very low power; however, three other features can reduce power consumption to an exceptionally low level. the wait instruction shuts off the clock in the central processor portion of the DSP56001. the stop instruction halts the internal oscillator. power increases linearly (approximately) with frequency; thus, reducing the clock frequency reduces power consumption. compatibility plastic quad flat pack (pqfp) available in a 132 pin, small footprint, surface mount package. rev. 3 may 4, 1998
2 DSP56001 motorola 15 9 port b or host port c and/or ssi, sci address generation unit on-chip peripherals: host, ssi, sci, pi/o internal data bus switch and bit manipulation unit clock generator e x ta l x ta l bootstrap rom 32x24 program ram 512x24 x memory ram 256x24 m /a rom 256x24 y memory ram 256x24 sine rom 256x24 program address generator program decode controller program interrupt controller ya b xab pa b ydb xdb pdb gdb modb/irqb moda/irqa reset data alu 24x24 + 56 ? 56-bit mac two 56-bit accumulators external address bus switch bus control external data bus switch address 7 data 16 bits 24 bits port a figure 1. DSP56001 block diagram in the usa: for technical assistance call: dsp applications helpline (512) 891-3230 for availability and literature call your local motorola sales office or authorized motorola distributor. for free application software and information call the dr. bub electronic bulletin board: 9600/4800/2400/1200/300 baud (512) 891-3771 (8 data bits, no parity, 1 stop) in europe, japan and asia pacific contact your regional sales office or motorola distributor.
3 DSP56001 motorola signal description the DSP56001 is available in 132 pin surface mount (cqfp and pqfp) or an 88-pin pin-grid array packaging. its input and output sig- nals are organized into seven functional groups which are listed below and shown in figure 1. port a address and data buses port a bus control interrupt and mode control power and clock host interface or port b i/o serial communications interface or port c i/o synchronous serial interface or port c i/o port a address and data bus address bus (a0-a15) these three-state output pins specify the address for external program and data memory accesses. to minimize power dissipation, a0-a15 do not change state when external memory spaces are not being ac- cessed. data bus (d0-d23) these pins provide the bidirectional data bus for external program and data memory accesses. d0-d23 are in the high-impedance state when the bus grant signal is asserted. port a bus control program memory select (ps ) this three-state output is asserted only when external program mem- ory is referenced. this pin is three-stated during reset . data memory select (ds ) this three-state output is asserted only when external data memory is referenced. this pin is three-stated during reset . x/y select (x/y ) this three-state output selects which external data memory space (x or y) is referenced by data memory select (ds ). this pin is three-stat- ed during reset . read enable (rd ) this three-state output is asserted to read external memory on the data bus d0-d23. this pin is three-stated during reset . write enable (wr ) this three-state output is asserted to write external memory on the data bus d0-d23. this pin is three-stated during reset . bus request (br /wt ) the bus request input br allows another device such as a processor or dma controller to become the master of external data bus d0-d23 and external address bus a0-a15. when operating mode register (omr) bit 7 is clear and br is asserted, the DSP56001 will always re- lease the external data bus d0-d23, address bus a0-a15, and bus control pins ps , ds , x/y , rd , and wr (i. e., port a), by placing these pins in the high-impedance state after execution of the current instruc- tion has been completed. the br pin should be pulled up when not in use. if omr bit 7 is set, this pin is an input that allows an external device to force wait states during an external port a operation for as long as wt is asserted. bus grant (bg /bs ) if omr bit 7 is clear, this output is asserted to acknowledge an external bus request after port a has been released. if omr bit 7 is set, this pin is bus strobe and is asserted when the dsp accesses port a. this pin is three-stated during reset . interrupt and mode control mode select a/external interrupt request a (moda/irqa ), mode select b/external interrupt request b (modb/irqb ) these two inputs have dual functions: 1) to select the initial chip oper- ating mode and 2) to receive an interrupt request from an external source. moda and modb are read and internally latched in the dsp when the processor exits the reset state. therefore these two pins should be forced into the proper state during reset. after leaving the reset state, the moda and modb pins automatically change to ex- ternal interrupt requests irqa and irqb . after leaving the reset state the chip operating mode can be changed by software. irqa and irqb may be programmed to be level sensitive or negative edge triggered. when edge triggered, triggering occurs at a voltage level and is not di- rectly related to the fall time of the interrupt signal, however, the prob- ability of noise on irqa or irqb generating multiple interrupts increas- es with increasing fall time of the interrupt signal. these pins are inputs during reset . reset (reset ) this schmitt trigger input pin is used to reset the DSP56001. when reset is asserted, the DSP56001 is initialized and placed in the reset state. when the reset signal is deasserted, the initial chip operating mode is latched from the moda and modb pins. when coming out of reset, deassertion occurs at a voltage level and is not directly related to the rise time of the reset signal; however, the probability of noise on reset generating multiple resets increases with increasing rise time of the reset signal. power and clock power (vcc), ground (gnd) there are five sets of power and ground pins used for the four groups of logic on the chip, two pairs for internal logic, one power and two ground for port a address and control pins, one power and two ground for port a data pins, and one pair for peripherals. refer to the pin as- signments in the layout practices section. port a port b port c host control rxd txd sclk sc0 sc1 sck srd std a0-a15 d0-d23 ps ds rd wr x/y br /wt bg /bs h0-h7 ha0 ha1 ha2 hr/w hen hreq hack host data bus vss vdd xtal extal reset modb/ irqb moda/ irqa bus control address data DSP56001 figure 2. functional signal groups sci ssi
4 DSP56001 motorola external clock/crystal input (extal) extal may be used to interface the crystal oscillator input to an exter- nal crystal or an external clock. crystal output (xtal) this output connects the internal crystal oscillator output to an external crystal. if an external clock is used, xtal should not be connected. host interface host data bus (h0-h7) this bidirectional data bus is used to transfer data between the host processor and the DSP56001. this bus is an input unless enabled by a host processor read. h0-h7 may be programmed as general pur- pose parallel i/o pins called pb0-pb7 when the host interface is not being used. these pins are configured as a gpio input pins during hardware reset. host address (ha0-ha2) these inputs provide the address selection for each host interface register. ha0-ha2 may be programmed as general purpose parallel i/o pins called pb8-pb10 when the host interface is not being used. these pins are configured as a gpio input pins during hardware reset. host read/write (hr/w ) this input selects the direction of data transfer for each host processor access. hr/w may be programmed as a general purpose i/o pin called pb11 when the host interface is not being used. this pin is con- figured as a gpio input pins during hardware reset. host enable (hen ) this input enables a data transfer on the host data bus. when hen is asserted and hr/w is high, h0-h7 become outputs, and DSP56001 data may be read by the host processor, when hen is asserted and hr/w is low, h0-h7 become inputs and host data is latched inside the dsp when hen is deasserted. normally a chip select signal, derived from host address decoding and an enable clock, is used to generate hen . hen may be programmed as a general purpose i/o pin called pb12 when the host interface is not being used. this pin is configured as a gpio input pins during hardware reset. host request (hreq ) this open-drain output signal is used by the DSP56001 host interface to request service from the host processor, dma controller, or simple external controller. hreq may be programmed as a general purpose i/o pin (not open-drain) called pb13 when the host interface is not be- ing used. hreq should be pulled high when not in use. this pin is con- figured as a gpio input pins during hardware reset. host acknowledge (hack ) this input has two functions: 1) to receive a host acknowledge hand- shake signal for dma transfers and, 2) to receive a host interrupt ac- knowledge compatible with mc68000 family processors. hack may be programmed as a general purpose i/o pin called pb14 when the host interface is not being used. this pin is configured as a gpio input pins during hardware reset. hack should be pulled high when not in use. serial communications interface (sci) receive data (rxd) this input receives byte-oriented data into the sci receive shift reg- ister. input data is sampled on the positive edge of the receive clock. rxd may be programmed as a general purpose i/o pin called pc0 when the sci is not being used. this pin is configured as a gpio input pins during hardware reset. transmit data (txd) this output transmits serial data from the sci transmit shift register. data changes on the negative edge of the transmit clock. this output is stable on the positive edge of the transmit clock. txd may be pro- grammed as a general purpose i/o pin called pc1 when the sci is not being used. this pin is configured as a gpio input pins during hard- ware reset. sci serial clock (sclk) this bidirectional pin provides an input or output clock from which the transmit and/or receive baud rate is derived in the asynchronous mode and from which data is transferred in the synchronous mode. sclk may be programmed as a general purpose i/o pin called pc2 when the sci is not being used. this pin is configured as a gpio input pins during hardware reset. synchronous serial interface (ssi) serial control zero (sc0) this bidirectional pin is used for control by the ssi. sc0 may be pro- grammed as a general purpose i/o pin called pc3 when the ssi is not being used. this pin is configured as a gpio input pins during hard- ware reset. serial control one (sc1) this bidirectional pin is used for control by the ssi. sc1 may be pro- grammed as a general purpose i/o pin called pc4 when the ssi is not being used. this pin is configured as a gpio input pins during hard- ware reset. serial control two (sc2) this bidirectional pin is used for control by the ssi. sc2 may be pro- grammed as a general purpose i/o pin called pc5 when the ssi is not being used. this pin is configured as a gpio input pins during hard- ware reset. ssi serial clock (sck) this bidirectional pin provides the serial bit rate clock for the ssi when only one clock is used. sck may be programmed as a general pur- pose i/o pin called pc6 when the ssi is not being used. this pin is configured as a gpio input pins during hardware reset. ssi receive data (srd) this input pin receives serial data into the ssi receive shift register. srd may be programmed as a general purpose i/o pin called pc7 when the ssi is not being used. this pin is configured as a gpio input pins during hardware reset. ssi transmit data (std) this output pin transmits serial data from the ssi transmit shift reg- ister. std may be programmed as a general purpose i/o pin called pc8 when the ssi is not being used. this pin is configured as a gpio input pins during hardware reset.
5 DSP56001 motorola DSP56001 electrical characteristics electrical specifications the dsp is fabricated in high density cmos with ttl compatible inputs and outputs. maximum ratings (v ss = 0 vdc) maximum electrical ratings thermal characteristics - pga package thermal characteristics - cqfp package thermal characteristics - pqfp package this device contains circuitry protecting against damage due to high static voltage or electrical fields; however, it is advise d that normal precautions be taken to avoid application of any voltages higher than maximum-rated voltages to this high-impedance circuit. re liability of operation is enhanced if unused inputs are tied to an appropriate logic voltage level (e.g., either gnd or vcc). rating symbol value unit supply voltage vcc -0.3 to +7.0 v all input voltages vin v ss - 0.5 to vcc + 0.5 v current drain per pin i 10 ma excluding vcc and v ss operating temperature range t j -40 to +105 c storage temperature tstg -55 to +150 c characteristics symbol value rating thermal resistance - ceramic junction to ambient q ja 27 c/w junction to case (estimated) q jc 6.5 c/w characteristics symbol value rating thermal resistance - ceramic junction to ambient q ja 40 c/w junction to case (estimated) q jc 7.0 c/w characteristics symbol value rating thermal resistance - plastic junction to ambient q ja 38 c/w junction to case (estimated) q jc 13.0 c/w
6 motorola DSP56001 electrical characteristics DSP56001 power considerations the average chip-junction temperature, t j , in c can be obtained from: t j = t a + (p d q ja )(1) where: t a = ambient temperature, c q ja = package thermal resistance, junction-to-ambient, c/w p d = p int + p i/o p int = i cc vcc, watts - chip internal power p i/o = power dissipation on input and output pins - user determined for most applications p i/o << p int and can be neglected; however, p i/o + p int must not exceed p d . an appropriate relationship between p d and t j (if p i/o is neglected) is: p d = k/(t j + 273 c) (2) solving equations (1) and (2) for k gives: k = p d (t a + 273 c) + q ja p d 2 (3) where k is a constant pertaining to the particular part. k can be determined from equation (2) by measuring p d (at equilibrium) for a known t a . using this value of k, the values of p d and t j can be obtained by solving equations (1) and (2) iteratively for any value of t a . the total thermal resistance of a package ( q ja ) can be separated into two components, q jc and c a , representing the barrier to heat flow from the semiconductor junction to the package (case) surface ( q jc ) and from the case to the outside ambient (c a ). these terms are related by the equation: q ja = q jc + c a (4) q jc is device related and cannot be influenced by the user. however, c a is user dependent and can be minimized by such thermal management techniques as heat sinks, ambient air cooling, and thermal convection. thus, good thermal management on the part of the user can significantly reduce c a so that q ja approximately equals q jc . substitution of q jc for q ja in equation (1) will result in a lower semiconductor junction temperature. values for thermal resistance presented in this document, unless estimated, were deri ved using the procedure described in motorola reliability report 7843, thermal resistance measurement method for mc68xx microcomponent devices, and are provided for design purposes only. thermal measurements are complex and dependent on procedure and setup. user-derived values for thermal resistance may differ. layout practices each vcc pin on the DSP56001 should be provided with a low-impedance path to + 5 volts. each gnd pin should likewise be provid ed with a low-impedance path to ground. the power supply pins drive four distinct groups of logic on chip. they are: power and ground connections for pga power and ground connections for cqfp and pqfp g12,c6 g11,b7 internal logic supply pins l8 l6,l9 address bus output buffer supply pins g3 d3,j3 data bus output buffer supply pins c9 e11 port b and c output buffer supply pins vcc gnd function 35, 36, 128, 129 33, 34, 130, 131 internal logic supply pins 63, 64 55, 56, 73, 74 address bus output buffer supply pins 100, 101 90, 91, 111, 112 data bus output buffer supply pins 12, 13 23, 24 port b and c output buffer supply pins vcc gnd function
7 DSP56001 motorola DSP56001 electrical characteristics power and ground connections the vcc power supply should be bypassed to ground using at least four 0.1 uf by- pass capacitors located either underneath the chip or as close as possible to the four sides of the package. the capacitor leads and associated printed circuit traces connecting to chip vcc and gnd should be kept to less than 1/2" per capacitor lead. a four-layer board is recommended, employing two inner layers as vcc and gnd planes. all output pins on the DSP56001 have fast rise and fall times typically less than 3 ns. with a 10 pf. loa d. printed circuit (pc) trace interconnection length should be minimized in order to minimize undershoot and reflections caused by these f ast output switching times. this recommendation particularly applies to the address and data buses as well as the rd , wr , irqa , irqb , and hen pins. maximum pc trace lengths on the order of 6" are recommended. capacitance calculations should consider all device loads as well as parasitic capacitances due to the pc traces. attention to proper pcb layout and bypassing becomes especially c ritical in systems with higher capacitive loads because these loads create higher transient currents in the vcc and gnd circuits. pull up/down all unused inputs or signals that will be inputs during reset. signal stability when designing hardware to interface with the host interface, it is important to ensure that all signals be clean and free from noise. particular attention should be given to the quality of the host enable (hen ). all inputs to the port should be stable when hen is asserted and should remain stable until hen has fully returned to the deasserted state. it is important to note that such phenomena as ground-bounce and cross-talk can inadvertently cause hen to temporarily rise above v il max . should this occur without completing the full logic transition to v ih min , the DSP56001 host port may not correctly update the port status information which can result in storing two or more copies of a single down loaded data word. of course, if a full logic transition occurs, the part will compl ete a normal data transfer operation.
8 motorola DSP56001 electrical characteristics DSP56001 dc electrical characteristics (vcc = 5.0 vdc + 10%; t j = -40 to +105 c at 20.5 mhz and 27 mhz) (vcc = 5.0 vdc + 5%; t j = -40 to +105 c at 33 mhz) notes: 1. in order to obtain these results all inputs must be terminated (i.e., not allowed to float). 2. periodically sampled and not 100% tested. characteristic symbol min typ max unit supply voltage 20, 27 mh z 3 3 mhz vcc 4.5 4.75 5.0 5.5 5.25 v input high voltage except extal, reset , moda/irqa , modb/irqb v ih 2.0 vcc v input low voltage except extal, moda/irqa , modb/irqb v il -0.5 0.8 v input high voltage extal v ihc 4.0 vcc v input low voltage extal v ilc -0.5 0.6 v input high voltage reset v ihr 2.5 vcc v input high voltage moda/irqa and modb/irqb v ihm 3.5 vcc v input low voltage moda/irqa and modb/irqb v ilm -0.5 2.0 v input leakage current extal, reset , moda/irqa , modb/irqb , br i in -1 1 ua three-state (off-state) input current (@2.4 v/0.4 v) i tsi -10 10 ua output high voltage (i oh = -0.4 ma) v oh 2.4 v output low voltage (i ol = 1.6 ma; rd , wr i ol = 1.6 ma; open drain hreq i ol = 6.7 ma, txd iol = 6.7 ma) v ol 0.4 v total supply current 5.25 v, 33 mhz 5 . 5 v, 27 mhz 5 . 5 v, 20 mhz in wait mode (see note 1) in stop mode (see note 1) i dd33 i dd27 i dd20 i ddw i dds 160 130 100 10 100 185 155 115 25 2000 ma ma ma ma m a input capacitance (see note 2) cin 10 pf
9 DSP56001 motorola DSP56001 electrical characteristics ac electrical characteristics the timing waveforms in the ac electrical characteristics are tested with a v il maximum of 0.5 v and a v ih minimum of 2.4 v for all pins, except extal, reset , moda, and modb. these four pins are tested using the input levels set forth in the dc electrical characteristics . ac timing specifications which are referenced to a device input signal are measured in production with respect to the 50% point of the respective input signals transition. DSP56001 output levels are measured with the production test machine v ol and v oh reference levels set at 0.8 v and 2.0 v respectively. ac electrical characteristics - clock operation the DSP56001 system clock may be derived from the on-chip crystal oscillator as shown in clock figure 1, or it may be externall y supplied. an externally supplied square wave voltage source should be connected to extal, leaving xtal physically unconnected (see clock figure 2) to the board or socket. the rise and fall time of this external clock should be 5 ns maximum. notes: 1. external clock input high and external clock input low are measured at 50% of the input transition. tch and tcl are dependent on the duty cycle. 2. t = icyc / 4 is used in the electrical characteristics. t represents an average which is independent of the duty cycle. num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max frequency of operation (extal pin) 4.0 20.5 4.0 27.0 4.0 33.0 mhz 1 external clock input high (tch) extal pin (see note 1 and 2) 22 150 17 150 13.5 150 ns 2 external clock input low (tcl) extal pin (see note 1 and 2) 22 150 17 150 13.5 150 ns 3 clock cycle time = cyc = 2t 48.75 250 37 250 30.33 250 ns 4 instruction cycle time = icyc = 4t 97.5 500 74 500 60 500 ns
10 motorola DSP56001 electrical characteristics DSP56001 suggested component values for f osc = 4 mhz: r = 680 k w + 10% c = 20 pf + 20% for f osc = 30 mhz: r = 680 k w + 10% c = 20 pf + 20% clock figure 1. crystal oscillator circuits xtal1 ? ? ? ? c c r fundamental frequency crystal oscillator 3 rd overtone crystal oscillator suggested component values r1 = 470 k w + 10% r2 = 330 w + 10% c1 = 0.1 m f + 20% c2 = 26 pf + 20% c3 = 20 pf + 10% l1 = 2.37 m h + 10% xtal =33 mhz, at cut, 20 pf load, 5 0 w max series resistance ? ? ? xtal extal ? r1 c2 c3 xtal1* l1 c1 r2 extal xtal notes: (1) the suggested crystal source is icm, # 433163 - 4.00 (4mhz fundamental, 20 pf load) or # 436163 - 30.00 (30 mhz fun- damental, 20 pf load). notes: (1) *3 rd overtone crystal. (2) the suggested crystal source is icm, # 471163 - 33.00 (33 mhz 3 rd overtone, 20 pf load). (3) r2 limits crystal current (4) reference benjamin parzen, the design of crystal and other harmonic oscillators , john wiley& sons, 1983 extal v ilc v ihc midpoint 1 2 3 4 clock figure 2. external clock timing note: the midpoint is v ilc + 0.5 (v ihc - v ilc ).
11 DSP56001 motorola DSP56001 electrical characteristics num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 9 delay from reset assertion to address high impedance (periodically sampled and not 100% tested) 50 38 31 ns 10 minimum stabilization duration internal osc. (see note 1) external clock (see note 2) 75000 * cyc 25 * cyc 75000*cyc 25 * cyc 75000*cyc 25 * cyc ns ns 11 delay from asynchronous reset deassertion to first external address output (internal reset negation) 8 * cyc 9 * cyc+40 8*cyc 9*cyc+31 8*cyc 9*cyc+25 ns 12 synchronous reset setup time from reset deassertion to falling edge of external clock 20 cyc-10 15 cyc-8 13 cyc-7 ns 13 synchronous reset delay time from the synchronous falling edge of exter- nal clock to the first external address output 8 * cyc+5 8 * cyc+30 8*cyc+5 8*cyc+23 8*cyc+5 8*cyc+19 ns 14 mode select setup time 100 77 62 ns 15 mode select hold time 0 0 0 ns 16 16a edge-triggered interrupt request assertion deassertion 25 15 17 10 16 10 ns ns ac electrical characteristics - reset, stop, mode select and interrupt timing ( vcc = 5.0 vdc + 10%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 20.5 mhz and 27 mhz) ( vcc = 5.0 vdc + 5%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 33 mhz) (see control figure 1 through 8) cyc = clock cycle = 1/2 instruction cycle = 2 t cycles ws = number of wait states (1 ws = 1 cyc = 2t) programmed into external bus access using bcr (ws = 0 - 15) tch = clock high period tcl = clock low period reset a0-a15 9 11 first fetch v ihr control figure 1. reset timing 10
12 motorola DSP56001 electrical characteristics DSP56001 ac electrical characteristics - reset, stop, mode select, and interrupt timing (continued) note when using fast interrupts and irqa and irqb are defined as level -sensitive, then timings 19 through 22 apply to prevent multiple interrupt service. to avoid these timing restrictions, the negative edge-triggered mode is rec- ommended when using fast interrupt. long interrupts are recommended when using level-sensitive mode. num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 17 delay from irqa , irqb assertion to external memory access address out valid caused by first interrupt instruction fetch instruction execution 5 * cyc+tch 9 * cyc+tch 5 * cyc+tch 9 * cyc+tch 5 * cyc+tch 9 * cyc+tch ns ns 18 delay from irqa , irqb assertion to general purpose transfer output valid caused by first interrupt instruction execution 11+cyc +tch 11 * cyc +tch 11 * cyc +tch ns 19 delay from address output valid caused by first interrupt instruction execution to interrupt request deassertion for level sensitive fast interrupts 2 * cyc+tcl+ (cyc * ws) -44 2 * cyc+tcl+ (cyc * ws) -34 2 * cyc+tcl+ (cyc * ws) -27 ns 20 delay from rd assertion to interrupt request deassertion for level sensitive fast interrupts 2 * cyc+ (cyc * ws) -40 2 * cyc+ (cyc * ws) -31 2 * cyc+ (cyc * ws) -25 ns 21 delay from wr assertion to ws=0 interrupt request deassertion for ws>0 level sensitive fast interrupts 2 * cyc-40 cyc+tcl+ (cyc * ws) -40 2 * cyc-31 cyc+tcl+ (cyc * ws) -31 2 * cyc-25 cyc+tcl+ (cyc * ws) -25 ns ns 22 delay from general-purpose output valid to interrupt request deassertion for level sensitive fast interrupts - if second interrupt instruction is: single cycle two cycle tcl-60 (2 * cyc)+tcl -60 tcl-46 (2 * cyc)+tcl -46 tcl-37 (2 * cyc)+tcl -37 ns ns
13 DSP56001 motorola DSP56001 electrical characteristics ac electrical characteristics - reset, stop, mode select, and interrupt timing (continued) notes: 1. a clock stabilization delay is required when using the on-chip crystal oscillator in two cases: 1) after power-on reset, and 2) when recovering from stop mode. during this stabilization period, t will not be constant. since this stabilization period varies, a delay of 150,000t is typically allowed to assure that the oscillator is stabilized before executing programs. while it is possible to set omr bit 6 = 1 when using the internal crystal oscillator, it is not recommended and these specifications do not guarantee timings for that case. see section 8.5 in the dsp56000/DSP56001 users manual for additional information. 2. circuit stabilization delay is required during reset when using an external clock in two cases: 1) after power-on reset, and 2) when recovering from stop mode. 3. for revision b silicon, the min and max numbers are 12cyc+tch+8 and 12cyc+tch+30, respec- tively. 4. the minimum is specified for the duration of an edge triggered irqa interrupt required to recover from the stop state without having the irqa interrupt accepted. 5. timing #23 is for all irqx interrupts while timing #24 is only when exiting wait. 6. timing #23 triggers off t1 in the normal state and off t1/t3 when exiting the wait state. 7. the timings in the table are for rev. c parts. the timings for rev. c parts are shorter by 1 cyc than the rev. b parts when omr6=0 . num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 23 synchronous interrupt setup time from irqa , irqb assertion to the synchronous rising edge of external clock (see notes 5, 6) 25 cyc-10 19 cyc-8 16 cyc-7 ns 24 synchronous interrupt delay time from the synchronous rising edge of external clock to the first external address output valid caused by the first instruction fetch after coming out of wait state (see notes 3, 5) 13 * cyc+ tch+8 13 * cyc+ tch+30 13 * cyc+ tch+6 13 * cyc+ tch+23 13 * cyc+ tch+5 13 * cyc+ tch+19 ns 25 duration for irqa assertion to recover from stop state (see note 4) 25 19 16 ns 26 delay from irqa assertion to fetch of first instruction (for stop) for internal osc / omr bit 6 = 0 e xternal clock / omr bit 6 = 1 (see notes 1, 2, and 7) 65545 * cyc 17 * cyc 65545 * cyc 17 * cyc 65545 * cyc 17 * cyc ns ns 27 duration for level sensitive irqa assertion to fetch of first interrupt instruction (for stop) for internal osc / omr bit 6 = 0 e xternal clock / omr bit 6 = 1 (see notes 1, 2, and 7) 65533 * cyc +tcl 5 * cyc+tcl 65533 * cyc +tcl 5 * cyc+tcl 65533 * cyc +tcl 5 * cyc+tcl ns ns 28 delay from level sensitive irqa assertion to fetch of first interrupt instruction (for stop) for i nternal osc / omr bit 6 = 0 external clock / omr bit 6 = 1 (see notes 1, 2, and 7) 65545 * cyc 17 * cyc 65545 * cyc 17 * cyc 65545 * cyc 17 * cyc ns ns
14 motorola DSP56001 electrical characteristics DSP56001 extal reset a0-a15, ds , ps x/y 13 11 12 control figure 2. synchronous reset timing reset moda, modb v ihr irqa , irqb v ihm v ilm v ih v il control figure 3. operating mode select timing 14 15 irqa , irqb 16 control figure 4. external interrupt timing (negative edge-triggered) 16a
15 DSP56001 motorola DSP56001 electrical characteristics first interrupt instruction execution a0-a15 rd wr irqa irqb 20 21 19 17 a) first interrupt instruction execution general purpose i/o irqa irqb 18 22 b) general purpose i/o control figure 5. external level-sensitive fast interrupt timing
16 motorola DSP56001 electrical characteristics DSP56001 extal irqa , irqb a0-a15, ds ps , x/y 23 24 t0, t2 t1, t3 control figure 6. synchronous interrupt and synchronous wait state timing irqa a0-a15, ds , ps , x/y 25 26 control figure 7. recovery from stop state using irqa first instruction fetch irqa a0-a15, ds , ps , x/y first irqa interrupt instruction fetch 27 28 control figure 8. recovery from stop state using irqa interrupt service
17 DSP56001 motorola DSP56001 electrical characteristics host port usage considerations careful synchronization is required when reading multibit registers that are written by another asynchronous system. this is a common problem when two asynchronous systems are connected. the situation exists in the host port. the considerations for proper opera tion are discussed below. host programmer considerations 1. unsynchronized reading of receive byte registers when reading receive byte registers, rxh, rxm, or rxl, the host programmer should use interrupts or poll the rxdf flag which indicates that data is available. this assures that the data in the receive byte registers will be stable. 2. overwriting transmit byte registers the host programmer should not write to the transmit byte registers, txh, txm, or txl, unless the txde bit is set indicating th at the transmit byte registers are empty. this guarantees that the transmit byte registers will transfer valid data to the hrx reg ister. 3. synchronization of status bits from dsp to host hc, hreq, dma, hf3, hf2, trdy, txde, and rxdf (refer to dsp56000/DSP56001 users manual , i/o interface section, host/ dma interface programming model for descriptions of these status bits) status bits are set or cleared from inside the dsp and read by the host processor. the host can read these status bits very quickly without regard to the clock rate used by the dsp, but the possibility exists that the state of the bit could be changing during the read operation. this is generally not a syste m problem, since the bit will be read correctly in the next pass of any host polling routine. however, if the host asserts the hen for more than timing number 31a (t31a), with a minimum cycle time of timing number 32a (t32a), then the status is guaranteed to be stable. a potential problem exists when reading status bits hf3 and hf2 as an encoded pair. if the dsp changes hf3 and hf2 from 00 to 11, there is a small probability that the host could read the bits during the transition and receive 01 or 10 instead of 11. if the combination of hf3 and hf2 has significance, the host could read the wrong combination. solution: a. read the bits twice and check for consensus. b. assert hen access for t31a so that status bit transitions are stabilized. 4. overwriting the host vector the host programmer should change the host vector register only when the host command bit (hc) is clear. this change will guarantee that the dsp interrupt control logic will receive a stable vector. 5. cancelling a pending host command exception the host processor may elect to clear the hc bit to cancel the host command exception request at any time before it is recognized by the dsp. because the host does not know exactly when the exception will be recognized (due to exception processing synchronization and pipeline delays), the dsp may execute the host exception after the hc bit is cleared. for these reasons, the hv bits must not be changed at the same time the hc bit is cleared. dsp programmer considerations 1. reading hf0 and hf1 as an encoded pair dma, hf1, hf0, and hcp, htde, and hrdf (refer to dsp56000/DSP56001 users manual , i/o interface section, host/dma interface programming model for descriptions of these status bits) status bits are set or cleared by the host processor side of the interface. these bits are individually synchronized to the dsp clock. a potential problem exists when reading status bits hf1 and hf2 as an encoded pair, i.e., the four combinations 00, 01, 10, and 11 each have significance. a very small probability exists that the dsp will read the status bits synchronized during transitio n. the solution to this potential problem is to read the bits twice for consensus.
18 motorola DSP56001 electrical characteristics DSP56001 ac electrical characteristics - host i/o timing (vcc = 5.0 vdc + 10%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 20.5 mhz and 27 mhz) (vcc = 5.0 vdc + 5%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 33 mhz) (see host figures 1 through 6) cyc = clock cycle = 1/2 instruction cycle = 2 t cycles thsdl = host synchronization delay time active low lines should be pulled up in a manner consistent with the ac and dc specifications num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 30 host synchronous delay (see note 1) tcl cyc+tcl tcl cyc+tcl tcl cyc+tcl ns 31 hen /hack assertion width (see note 2) a.cvr, icr, isr read (see note 4) b.read c.write cyc+60 50 25 cyc+46 39 19 cyc+37 31 16 ns ns ns 32 hen /hack deassertion width (see note 2 and 5) 25 19 16 ns 32a minimum cycle time between two hen assertion for consecutive cvr, icr, and isr reads (see note 2) 2 * cyc+60 2 * cyc+46 2 * cyc+37 ns 33 host data input setup time before hen /hack deassertion 544ns 34 host data input hold time after hen / hack deassertion 544ns 35 hen /hack assertion to output data active from high impedance 000ns 36 hen /hack assertion to output data valid (periodically sampled, and not 100% tested) 503931ns 37 hen /hack deassertion to output data high impedance 352722ns 38 output data hold time after hen / hack deassertion 544ns 39 hr/w low setup time before hen assertion 000ns 40 hr/w low hold time after hen deassertion 544ns 41 hr/w high setup time to hen assertion 000ns 42 hr/w high hold time after hen / hack deassertion 544ns 43 ha0-ha2 setup time before hen assertion 000ns 44 ha0-ha2 hold time after hen deassertion 544ns 45 dma hack assertion to hreq deassertion (see note 3) 560446449ns
19 DSP56001 motorola DSP56001 electrical characteristics ac electrical characteristics - host i/o timing (continued) (vcc = 5.0 vdc + 10%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 20.5 mhz and 27 mhz (vcc = 5.0 vdc + 5%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 33 mhz, see host figures 1 through 6) cyc = clock cycle = 1/2 instruction cycle = 2 t cycles thsdl = host synchronization delay time active low lines should be pulled up in a manner consistent with the ac and dc specifications notes: 1. host synchronization delay (thsdl) is the time period required for the DSP56001 to sample any external asynchronous input signal, determine whether it is high or low, and synchronize it to the DSP56001 internal clock. 2. see host port usage considerations . 3. hreq is pulled up by a 1k w resistor. 4. this timing must be adhered to only if two consecutive reads from one of these registers are executed. 5. it is recommended that timing #32 be 2cyc+tch+10 minimum for 20.5 mhz, 2cyc+tch+7 minimum for 27 mhz, and 2cyc+tch+6 minimum for 33 mhz if two consecutive writes to txl are executed without polling txde or hreq . num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 46 dma hack deassertion to hreq assertion (see note 3) for dma rxl read for dma txl write for all other cases thsdl+cyc +tch+5 thsdl+cyc+5 5 thsdl+cyc +tch+4 thsdl+cyc+4 4 thsdl+cyc +tch+4 thsdl+cyc+4 4 ns ns ns 47 delay from hen deassertion to hreq assertion for rxl read (see note 3) thsdl+cyc +tch+5 thsdl+cyc +tch+4 thsdl+cyc +tch+4 ns 48 delay from hen deassertion to hreq assertion for txl write (see note 3) thsdl+cyc+5 thsdl+cyc+4 thsdl+cyc+4 ns 49 delay from hen assertion to hreq deassertion for rxl read, txl write (see note 3) 575470465ns external internal 30 30 host figure 1. host synchronization delay
20 motorola DSP56001 electrical characteristics DSP56001 hreq (output) hack (input) hr/w (input) h0-h7 (output) 31 32 41 42 37 36 35 38 host figure 2. host interrupt vector register (ivr) read data valid
21 DSP56001 motorola DSP56001 electrical characteristics hreq (output) hen (input) ha2-ha0 (input) hr/w (input) h0-h7 (output) 47 49 31 32 43 44 41 42 36 37 35 38 rxm read rxl read rxh read address valid address valid address valid data valid data valid data valid host figure 3. host read cycle (non-dma mode) 32a
22 motorola DSP56001 electrical characteristics DSP56001 data valid data valid data valid host figure 4. host write cycle (non-dma mode) 48 49 31 32 43 44 39 40 33 34 txm write txl write txh write address valid address valid address valid hreq (output) hen (input) ha2-ha0 (input) hr/w (input) h0-h7 (input) host figure 5. host dma read cycle 31 32 45 46 46 36 35 37 38 data valid data valid data valid hreq (output) hack (input) h0-h7 (output) rxm read rxl read rxh read 46
23 DSP56001 motorola DSP56001 electrical characteristics host figure 6. host dma write cycle hreq (output) hack (input) h0-h7 (input) 31 32 45 46 33 34 data valid data valid data valid txm write txl write txh write 46 46
24 motorola DSP56001 electrical characteristics DSP56001 ac electrical characteristics - sci timing (vcc = 5.0 vdc + 10%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 20.5 mhz and 27 mhz, vcc = 5.0 vdc + 5%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 33 mhz, see sci figures 1 and 2) cyc = clock cycle = 1/2 instruction cycle = 2 t cycles tscc = synchronous clock cycle time (for internal clock tscc is determined by the sci clock control register and icyc.) sci synchronous mode timing num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 55 synchronous clock cycle tscc 8 * cyc 8 * cyc 8 * cyc ns 56 clock low period 4 * cyc-20 4 * cyc-15 4 * cyc-13 ns 57 clock high period 4 * cyc-20 4 * cyc-15 4 * cyc-13 ns 59 output data setup to clock falling edge (internal clock) 2 * cyc +tcl-50 2 * cyc +tcl-39 2 * cyc +tcl-31 ns 60 output data hold after clock rising edge (internal clock) 2 * cyc -tcl-15 2 * cyc -tcl-11 2 * cyc -tcl-9 ns 61 input data setup time before clock rising edge (internal clock) 2 * cyc +tcl+45 2 * cyc +tcl+35 2 * cyc +tcl+28 ns 62 input data not valid before clock ris- ing edge (internal clock) 2 * cyc +tcl-10 2 * cyc +tcl-8 2 * cyc +tcl-6 ns 63 clock falling edge to output data valid (external clock) 634839ns 64 output data hold after clock rising edge (external clock) cyc+12 cyc+9 cyc+8 ns 65 input data setup time before clock rising edge (external clock) 30 23 19 ns 66 input data hold time after clock ris- ing edge (external clock) 40 31 25 ns
25 DSP56001 motorola DSP56001 electrical characteristics ac electrical characteristics - sci timing (vcc = 5.0 vdc + 10%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 20.5 mhz and 27 mhz, vcc = 5.0 vdc + 5%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 33 mhz, see sci figures 1 and 2) cyc = clock cycle = 1/2 instruction cycle = 2 t cycles tacc = asynchronous clock cycle time tacc = asynchronous clock cycle time (for internal clock tacc is determined by the sci clock control register and icyc) sci asynchronous mode timing - 1x clock num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 67 asynchronous clock cycle 64 * cyc 64 * cyc 64 * cyc ns 68 clock low period 32 * cyc-20 32 * cyc-15 32 * cyc-13 ns 69 clock high period 32 * cyc-20 32 * cyc-15 32 * cyc-13 ns 71 output data setup to clock rising edge (internal clock) 32 * cyc -100 32 * cyc -77 32 * cyc -61 ns 72 output data hold after clock rising edge (internal clock) 32 * cyc -100 32 * cyc -77 32 * cyc -61 ns
26 motorola DSP56001 electrical characteristics DSP56001 internal clock 56 57 58 58 55 60 59 62 61 data valid data valid external clock 56 57 55 64 63 66 65 data valid data valid sci figure 1. sci synchronous mode timing sclk (output) txd rxd sclk (input) txd rxd
27 DSP56001 motorola DSP56001 electrical characteristics 1x sck (output) txd data valid sci figure 2. sci asynchronous mode timing 68 69 70 70 67 71 72 note: in the wire-or mode, txd can be pulled up by 1k w
28 motorola DSP56001 electrical characteristics DSP56001 ac electrical characteristics - ssi timing (vcc = 5.0 vdc + 10%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 20.5 mhz and 27 mhz, vcc = 5.0 vdc + 5%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 33 mhz, see ssi figures 1 and 2) cyc = clock cycle = 1/2 instruction cycle = 2 t cycles tssicc = ssi clock cycle time txc (sck pin) = transmit clock rxc (sc0 or sck pin) = receive clock fst (sc2 pin) = transmit frame sync fsr (sc1 or sc2 pin) = receive frame sync i ck = internal clock x ck = external clock g ck = gated clock i ck a = internal clock, asynchronous mode (asynchronous implies that txc and rxc are two different clocks) i ck s = internal clock, synchronous mode (synchronous implies that txc and rxc are the same clock) bl = bit length wl = word length num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 80 clock cycle (see note 1) 4 * cyc 4 * cyc 4 * cyc ns 81 clock high period 2 * cyc-20 2 * cyc-15 2 * cyc-13 ns 82 clock high period 2 * cyc-20 2 * cyc-15 2 * cyc-13 ns 84 rxc rising edge to fsr out (bl) high x ck i ck a 80 50 61 38 48 31 ns ns 85 rxc rising edge to fsr out (bl) low x ck i ck a 70 40 54 31 43 25 ns ns 86 rxc rising edge to fsr out (wl) high x ck i ck a 70 40 54 31 43 25 ns ns 87 rxc rising edge to fsr out (wl) low x ck i ck a 70 40 54 31 43 25 ns ns 88 data in setup time before rxc (sck in synchronous mode) falling edge x ck i ck a i ck s 15 35 25 12 27 19 10 22 16 ns ns ns 89 data in hold time after rxc falling edge x ck i ck a 35 5 27 4 22 4 ns ns 90 fsr input (bl) high before rxc falling edge x ck i ck a 15 35 12 27 10 23 ns ns 91 fsr input (wl) high before rxc falling edge x ck i ck a 20 55 15 42 13 34 ns ns 92 fsr input hold time after rxc falling edge x ck i ck a 35 5 27 4 22 4 ns ns
29 DSP56001 motorola DSP56001 electrical characteristics ac electrical characteristics - ssi timing (continued) note: 1. for internal clock, external clock cycle is defined by icyc and ssi control register. num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 93 flags input setup before rxc falling edge x ck i ck a 30 50 23 39 19 31 ns nss 94 flags input hold time after rxc falling edge x ck i ck a 35 5 27 4 22 4 ns ns 95 txc rising edge to fst out (bl) high x ck i ck a 70 30 54 23 43 19 ns ns 96 txc rising edge to fst out (bl) low x ck i ck a 65 35 50 27 40 22 ns ns 97 txc rising edge to fst out (wl) high x ck i ck a 65 35 50 27 40 22 ns ns 98 txc rising edge to fst out (wl) low x ck i ck a 65 35 50 27 40 22 ns ns 99 txc rising edge to data out enable from high impedance x ck i ck a 65 40 50 31 40 25 ns ns 100 txc rising edge to data out valid x ck i ck a 65 40 50 31 40 25 ns ns 101 txc rising edge to data out high impedance (periodically sampled, and not 100% tested) x ck i ck a 70 40 54 31 43 25 ns ns 101a txc falling edge to data out high impedance for gated clock mode only g ck cyc+tch cyc+tch cyc+tch ns 102 fst input (bl) setup time before txc falling edge x ck i ck a 15 35 12 27 10 23 ns ns 103 fst input (wl) to data out enable from high impedance 604637ns 104 fst input (wl) setup time before txc falling edge x ck i ck a 20 55 15 42 13 34 ns ns 105 fst input hold time after txc falling edge x ck i ck a 35 5 27 4 22 4 ns ns 106 flag output valid after txc rising edge x ck i ck a 70 40 54 31 43 25 ns ns note: 1. for internal clock, external clock cycle is defined by icyc and ssi control register.
30 motorola DSP56001 electrical characteristics DSP56001 rxc (input/output) fsr (bit) out fsr (word) out data in fsr (bit) in fsr (word) in flags in 81 82 83 80 84 85 86 87 88 89 first bit last bit 90 92 92 91 94 93 ssi figure 1. ssi receiver timing 83
31 DSP56001 motorola DSP56001 electrical characteristics first bit last bit (see note 1) note: 1. in the network mode, output flag transitions can occur at the start of each time slot within the frame. in the normal mode, the output flag state is asserted for the entire frame period. ssi figure 2. ssi transmitter timing txc (input/output) fst (bit) out fst (word) out data out fst (bit) in fst (word) in flags out 81 82 83 80 95 96 97 98 100 100 99 105 102 103 104 105 106 101 83 101a
32 motorola DSP56001 electrical characteristics DSP56001 ac electrical characteristics capacitance derating external bus asynchronous timing vcc = 5.0 vdc + 10%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 20.5 mhz and 27 mhz, vcc = 5.0 vdc + 5%, t j = -40 to +105 c, cl = 50 pf + 1 ttl load at 33 mhz, see bus figures 1 and 2 cyc = clock cycle = 1/2 instruction cycle = 2 t cycles ws = number of wait states, determined by bcr register (ws = 0 to 15) the DSP56001 external bus timing specifications are designed and tested at the maximum capacitive load of 50 pf, including stray capacitance. typically, the drive capability of the external bus pins (a0-a15, d0-d23, ps , ds , rd , wr , x/y ) derates linearly at 1 ns per 12 pf of additional capacitance from 50 pf to 250 pf of loading. port b and c pins derate linearly at 1 ns per 5 pf of additional capacitance from 50 pf to 250 pf of loading. active low inputs should be pulled up in a manner consistent with the ac and dc specifications. to conserve power, when an internal memory access follows an external memory access, the rd and wr strobes remain deasserted and a0-a15 and x/y do not change from their previous state. both ps and ds will be deasserted (they do not change between two external accesses to the same memory space) indicating that no external memory access is occurring. if br has been asserted, then the bus signals will be three-stated according to the timing information in this data sheet. num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 115 delay from br assertion to bg assertion (see note 1) (see note 2) (see note 3) (see note 4) (see note 5) 2 * cyc+tch cyc+tch cyc+tch infinity tch+4 4*cyc+tch+ 20 4*cyc+tch+ cyc*ws+20 6*cyc+tch+ 2*cyc*ws+ 20 cyc+tch+30 2 * cyc+tch cyc+tch cyc+tch infinity tch+3 4*cyc+tch+ 15 4*cyc+tch+ cyc*ws+15 6*cyc+tch+ 2*cyc*ws+ 15 cyc+tch+23 2 * cyc+tch cyc+tch cyc+tch infinity tch+3 4*cyc+tch+ 13 4*cyc+tch+ cyc*ws+13 6*cyc+tch+ 2*cyc*ws+ 13 cyc+tch+19 ns ns ns ns ns 116 flags input hold time after rxc falling edge deassertion 2*cyc 4*cyc+20 2*cyc 4*cyc+15 2*cyc 4*cyc+13 ns 117 bg deassertion duration 2*cyc-10 2*cyc-8 2*cyc-6 ns 118 delay from address, data, and control bus high impedance to bg assertion 000ns 119 delay from bg deassertion to address, data, and control bus enabled tch-10 tch-8 tch-6 ns 120 address valid to wr assertion ws=0 ws>0 tcl-9 cyc-9 tcl+5 cyc+5 tcl-7 cyc-7 tcl+5 cyc+5 tcl-5.5 cyc-5.5 tcl+5 cyc+5 ns ns 121 wr assertion width ws=0 ws>0 cyc-9 ws*cyc +tcl-9 cyc-7 ws*cyc +tcl-7 cyc-5.0 ws*cyc +tcl-5.0 ns ns 122 wr deassertion to address not valid tch-12 tch-9 tch-7.5 ns 123 wr assertion to data out valid ws=0 ws>0 tch-9 0 tch+10 10 tch-7 0 tch+8 8 tch-5.5 0 tch+6.5 6.5 ns ns 124 data out hold time from wr deassertion (the maximum specifica- tion is periodically sampled, and not 100% tested.) tch-9 tch+7 tch-7 tch+6 tch-5.5 tch+4.5 ns 125 data out setup time to wr deassertion (see note 6) ws=0 ws>0 tcl-5 ws*cyc +tcl-5 tcl-5 ws*cyc +tcl-5 tcl-5 ws*cyc +tcl-5 ns ns 126 rd deassertion to address not valid tch-9 tch-7 tch-5.5 ns
33 DSP56001 motorola DSP56001 electrical characteristics ac electrical characteristics - external bus asynchronous timing (continued) notes: 1. with no external access from the dsp. 2. during external read or write access. 3. during external read-modify-write access. 4. during the stop mode the external bus will not be released and bg will not go low. however, if the bus is released (bg = 0) and the stop instruction is executed while bg = 0 then the bus will remain released while the dsp is in the stop state and bg will remain low. 5. during the wait mode the br /bg circuits remain active. 6. typical values at 5v are: at 20.5 mhz and ws=0, min = tcl-4 at 20.5 mhz and ws>0, min = ws * cyc+tcl-4 at 27 mhz and ws=0, min = tcl-3 at 27 mhz and ws>0, min = ws * cyc+tcl-3 at 33 mhz and ws=0, min = tcl-2.5 at 33 mhz and ws>0, min = ws * cyc+tcl-2.5 num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 127 address valid to ws = 0 rd deassertion ws > 0 cyc+tcl-8 ((ws+1) * cyc)+tcl-8 cyc+tcl-6 ((ws+1) * cyc)+tcl-6 cyc+tcl-6 ((ws+1) * cyc)+tcl-6 ns ns 128 input data hold time to rd deassertion 000ns 129 rd assertion width ws = 0 ws > 0 cyc-9 ((ws+1)* cyc)-9 cyc-7 ((ws+1)* cyc)-7 cyc-5.5 ((ws+1)* cyc)-5.5 ns ns 130 address valid to ws = 0 input data valid ws > 0 cyc+tcl-18 ((ws+1) * cyc)+tcl-18 cyc+tcl-14 ((ws+1) * cyc)+tcl-14 cyc+tcl-11 ((ws+1) * cyc)+tcl-11 ns ns 131 address valid to rd assertion tcl-9 tcl+5 tcl-7 tcl+5 tcl-5.5 tcl+5 ns 132 rd assertion to ws=0 input data valid ws>0 cyc-14 ((ws+1)* cyc)-14 cyc-11 ((ws+1)* cyc)-11 cyc-9 ((ws+1)* cyc)-9 ns ns 133 wr deassertion to rd assertion cyc-15 cyc-12 cyc-10 ns 134 rd deassertion to rd assertion cyc-10 cyc-8 cyc-6.5 ns 135 wr deassertion to ws=0 wr assertion ws>0 cyc-15 cyc+tch-15 cyc-12 cyc+tch-12 cyc-10 cyc+tch-10 ns ns 136 rd deassertion to ws=0 wr assertion ws>0 cyc-10 cyc+tch-10 cyc-8 cyc+tch-8 cyc-6.5 cyc+tch- 6.5 ns ns
34 motorola DSP56001 electrical characteristics DSP56001 br bg a0-a15, ps , ds , x/y , rd , wr d0-d23 115 116 117 118 119 async. bus figure 1. bus request / bus grant timing a0-a15, ds , ps , x/y (see note 1) rd wr d0-d23 data out data in 120 135 121 122 133 131 129 127 126 134 123 136 128 125 124 130 132 note: 1. during read-modify-write instructions and internal instructions, the address lines do not change state. async. bus figure 2. external bus asynchronous timing
35 DSP56001 motorola DSP56001 electrical characteristics ac electrical characteristics - external bus synchronous timing vcc = 5.0 vdc + 10%; t j = -40 to 105 c at 20.5 mhz 27 mhz vcc = 5.0 vdc + 5%; t j = -40 to 105 c at 33 mhz notes: 1. ac timing specifications which are referenced to a device input signal are measured in production with respect to the 50% point of the respective input signals transition. 2. ws are wait state values specified in the bcr. 3. clk low to data-out invalid (spec. 146) and clk low to address invalid (spec. 149) indicate the time after which data/address are no longer guaranteed to be valid. num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 140 clk low transition to address valid 241919ns 141 clk high transition to wr ws = 0 assertion (see note 2) ws > 0 0 0 19 tch+19 0 0 15 tch+15 0 0 17 tch+17 ns ns 142 clk high transition to wr deassertion 521516513ns 143 clk high transition to rd assertion 0 19 0 15 0 16 ns 144 clk high transition to rd deassertion 5 17 5 13 4.5 10.5 ns 145 clk low transition to data-out valid 25 19 19 ns 146 clk low transition to data-out invalid (see note 3) 543.5ns 147 data-in valid to clk high transition (setup) 000ns 148 clk high transition to data-in invalid (hold) 12 12 13 ns ns 149 clk low to address invalid (see note 3) 333ns
36 motorola DSP56001 electrical characteristics DSP56001 note: during read-modify-write instructions, the address lines do not change states. t0 t1 t2 t3 t0 t1 t2 t3 t0 clk in a0-a15 ds ,ps x/y rd wr d0-d23 data in data out 140 sync. bus figure 1. DSP56001 synchronous bus timing 141 142 143 144 145 146 147 148 149
37 DSP56001 motorola DSP56001 electrical characteristics ac electrical characteristics - bus strobe / wait timing note: 1. ac timing specifications which are referenced to a device input signal are measured in production with respect to the 50% point of the respective input signals transition. 2. if wait states are also inserted using the bcr and if the number of wait states is greater than 2, then specification numbers 156 and 157 can be increased accordingly. 3. bs deassertion to address invalid indicates the time after which the address are no longer guaranteed to be valid. 4. the minimum number of wait states when using bs /wt is two (2). 5. for read-modify-write instructions, the address lines will not change states between the read and the write cycle. however, bs will deassert before asserting again for the write cycle. if wait states are de- sired for each of the read and write cycle, the wt pin must be asserted once for each cycle. num characteristics 20.5 mhz 27 mhz 33 mhz unit min max min max min max 150 clk low transition to bs assertion 4 24 3 19 2.5 19 ns 151 wt assertion to clk low transition (setup time) 432.5ns ns 152 clk low transition to wt deassertion for minimum timing 14 cyc-8 11 cyc-6 12 cyc-5 ns 153 wt deassertion to clk low transition for maximum timing (2 wait states 865ns 154 clk high transition to bs deassertion 5 26 4 20 3.5 19 ns 155 bs assertion to address valid -2 10 -2 8 -2 6.5 ns 156 bs assertion to wt assertion (see note 2) 0 cyc-15 0 cyc-11 0 cyc-10 ns 157 bs assertion to wt deassertion (see note 2 and note 4) ws < 2 ws > 2 cyc (ws-1) * cyc 2*cyc-15 ws*cyc -15 cyc (ws-1) * cyc 2*cyc-11 ws*cyc -11 cyc+4 (ws-1) * cyc+4 2*cyc-10 ws*cyc -10 ns ns 158 wt deassertion to bs deassertion cyc+tcl 2 * cyc+tcl +23 cyc+tcl 2 * cyc+tcl +17 cyc+tcl 2 * cyc+tcl +15 ns 159 minimum bs deassertion width for consecutive external accesses tch-7 tch-6 tch-4.5 ns 160 bs deassertion to address invalid (see note 3) tch-10 tch-8 tch-6.5 161 data-in valid to rd deassertion (set up) 16 12 10 ns
38 motorola DSP56001 electrical characteristics DSP56001 note: during read-modify-write instructions, the address lines do not change state. however, bs will deassert before asserting again for the write cycle. t0 t1 t2 tw t2 tw t2 t3 t0 extal a0-a15, ps , ds , x/y bs wt rd d0-d23 wr d0-d23 bus arbitration figure 1. DSP56001 synchronous bs / wt timings data in 143 140 149 144 150 151 152 153 147 148 154 141 142 145 146 data out
39 DSP56001 motorola DSP56001 electrical characteristics note: during read-modify-write instructions, the address lines will not change states. however, bs will deassert before asserting again for the write cycle. a0-a15, ps , ds , x/y bs wt rd d0-d 23 wr d0-d23 bus arbitration figure 2. DSP56001 asynchronous bs / wt timings 158 159 156 157 161 128 data out 131 126 125 124 120 155 122 160 data in 123
40 motorola DSP56001 electrical characteristics DSP56001
a-41 DSP56001 motorola ordering information DSP56001 socket information pga supplier telephone socket type part number comment advanced interconnections (401) 823-5200 standard 88 pin 4cs088-01tg 2 includes cutout in center amp (717) 564-0100 standard 88 pin 1-916223-3 low insertion force 1-55283-9 zif production standard 128 pin 1-55383-4 zif burn-in and test robinson nugent (812) 945-0211 custom pinout pga-088cm3p-s-tg 3 pga-088chp3-sl-tg 3 high temp, longer leads samtec (812) 944-6733 standard 120 pin mvas-120-zstt-13 1 includes cutout in center custom 88 pin cpas-88-zstt-13bf 1 no cutout notes: 1. please specify wirewrap and plating options. the part numbers shown specify low profile solder tail pins having a tin contact and tin shell. 2. please specify wirewrap and plating options. the part number shown specifies gold contact and tin shell. 3. cutout in the center, unused holes are plugged, solder tail. cqfp supplier telephone socket type part number comment amp (717)564-0100 822054-2 1 converts cqfp to fit amps 132 position pqfp micro-pitch socket. notes: 1. this part is not a socket. it is a converter that allows a cqfp part to be used in the pqfp socket described below. pqfp supplier telephone socket type part number comment amp (717)564-0100 132 pin 821949-5 1 housing sub-assembly and 821942-1 1 cover for 132 position pqfp micro-pitch socket. notes: 1. one housing sub-assembly and one cover are required for each socket. DSP56001fe 33 20 = 20.5 mhz. 27 = 27 mhz frequency pack age type rc = pin grid array fe = ceramic quad flat pack (cqfp) dsp type 56001 = ram part fc = plastic quad flat pack (pqfp) 33 = 33 mhz. appendix a
a-42 DSP56001 motorola n d0 a14 a13 a12 a10 a8 a7 a6 a4 a2 a1 ps x/y m d3 d1 a15 a11 a9 a5 a3 a0 ds wr l d4 d2 gnd vcc gnd rd br k d6 d5 bg sc1 j d8 d7 gnd srd std h d9 sc2 g d10 vcc gnd vcc sck f d11 d12 sc0 sclk e d13 gnd txd d d14 d16 gnd h0 rxd c d15 d18 vcc vcc h2 h1 b d17 d20 d23 irqa extal gnd ha0 hreq h7 h4 h3 a d19 d21 d22 irqb reset xtal ha2 ha1 hack hen hr/w h6 h5 12345678910111213 bottom view pin assignment g g CbC CaC rc suffix ceramic case 789d-01 k CtC CxC c d 88 pl n m l k j h g f e d c b a 12345678910111213 millimeters inches dim min max min max a 34.04 35.05 1.340 1.380 b 34.04 35.05 1.340 1.380 c 2.16 3.04 0.085 0.120 d 0.44 0.55 0.017 0.022 g 2.54 bsc 0.100 bsc k 4.20 5.08 0.165 0.200 1. dimensioning and tolerancing per ansi y14.5m. 1982. 2. controlling dimension: inch. o 0.76 (0.030) o t a s b s o 0.25 (0.010) o x matrix pins mechanical specification figure a-1. pin grid array mechanical specification
a-43 DSP56001 motorola pin # function pin # function pin # function pin # function 17 no connect 116 no connect 83 no connect 50 no connect 16 h4 115 d20 82 d1 49 ds 15 h5 114 d19 81 d0 48 x/y 14 h6 113 d18 80 a15 47 rd 13 peripheral vcc 112 data bus gnd 79 a14 46 wr 12 peripheral vcc 111 data bus gnd 78 no connect 45 br 11 h7 110 no connect 77 a13 44 no connect 10 hreq 109 d17 76 a12 43 bg 9 hr/w 108 d16 75 a11 42 srd 8hen 107 no connect 74 address bus gnd 41 no connect 7 no connect 106 d15 73 address bus gnd 40 sc1 6hack 105 d14 72 no connect 39 std 5 ha0 104 d13 71 a10 38 no connect 4 no connect 103 no connect 70 a9 37 sc2 3 no connect 102 d12 69 no connect 36 internal logic vcc 2 ha1 101 data bus vcc 68 a8 35 internal logic vcc 1 ha2 100 data bus vcc 67 a7 34 internal logic gnd 132 no connect 99 d11 66 no connect 33 internal logic gnd 131 internal logic gnd 98 no connect 65 a6 32 sck 130 internal logic gnd 97 d10 64 address bus vcc 31 sc0 129 internal logic vcc 96 d9 63 address bus vcc 30 no connect 128 internal logic vcc 95 no connect 62 no connect 29 sclk 127extal 94d8 61a5 28txd 126 xtal 93 d7 60 a4 27 rxd 125 no connect 92 d6 59 no connect 26 no connect 124 reset 91data bus gnd 58a3 25h0 123 moda/irqa 90 data bus gnd 57 a2 24 peripheral gnd 122 no connect 89 no connect 56 address bus gnd 23 peripheral gnd 121 nmi/modb/irqb 88 d5 55 address bus gnd 22 h1 120 d23 87 d4 54 a1 21 no connect 119 d22 86 d3 53 a0 20 h2 118 d21 85 d2 52 ps 19 h3 117 no connect 84 no connect 51 no connect 18 no connect mechanical specification table a-1. cqfp and pqfp pin out note: do not connect to no connect pins. no connect pins are reserved for future enhancements.
a-44 DSP56001 motorola mechanical specification figure a-2. ceramic quad flat pack
a-45 DSP56001 motorola mechanical specification figure a-2. ceramic quad flat pack (continued)
a-46 DSP56001 motorola mechanical specification figure a-3. plastic quad flat pack
a-47 DSP56001 motorola mechanical specification figure a-3. plastic quad flat pack (continued)
b-48 DSP56001 motorola the lowest cost DSP56001 based system is shown in figure b- 1. it uses no run time external memory and requires only two chips, the DSP56001 and a low cost eprom. the eprom read access time should be less than 780 nanoseconds when the DSP56001 is operating at a clock rate of 20.5 mhz. a system with external data ram memory requires no glue logic to select the external eprom from bootstrap mode. ps is used to enable the eprom and ds is used to enable the high speed data memories as shown in figure b-2. appendix b application examples DSP56001 d23 moda/irqa reset modb/irqb 11 8 mbd301 * mbd301 * 15k 15k 15k 15k +5 v +5 v ce a0-a10 d0-d7 from open collector buffer from reset function from open collector buffer 2716 ps a0-a10 d0-d7 DSP56001 d23 moda/irqa reset modb/irqb 24 8 mbd301 * mbd301 * 15k 15k 15k 15k +5 v +5 v from open collector buffer from reset function from open collector buffer a0-a10 d0-d7 a0-a9 a10 cs we oe rd ps x/y ds wr ce a0-a10 2716 d0-d23 11 10 2018-55 (3) d0-d23 figure b-1. no glue logic, low cost memory port bootstrap mode 1 figure b-2. port a bootstrap with external data ram mode 1 15k 15k br hack 15k +5 v br hack 15k +5 v note: when in reset, irqa and irqb must be deasserted by external peripherals. note *: these diodes must be schottky diodes. note *: these diodes must be schottky diodes.
b-49 DSP56001 motorola figure b-3 shows the DSP56001 bootstrapping via the host port from an mc68000. systems with external program memory can load the on-chip pram without using the bootstrap mode. in figure b-4, the DSP56001 is operated in mode 2 with external program memory at location $e000. the programmer can overlay the high speed on-chip pram with dsp algorithms by using the movem in- struction. DSP56001 moda/irqa reset modb/irqb 24 mbd301 * mbd301 * 15k 15k 15k +5 v from open collector buffer from reset function from open collector buffer a0-a14 a0-a14 cs oe rd ps d0-d23 15 2756-30 (3) d0-d23 DSP56001 moda/irqa reset modb/irqb mbd301 * mbd301 * 15k 15k 15k +5 v from open collector buffer from reset function from open collector buffer hr/w hen h0-h7 f32 f32 f32 f32 ls09 address decode 1k +5 v ha0-ha2 lds as dtack a1-a3 d0-d7 r/w a4-a23 8 3 d23 15k mc68000 (12.5mhz) figure b-4. 32k words of external program rom mode 2 figure b-3. DSP56001 host bootstrap example mode 1 15 kw +5v 15 kw +5v hack br 15k 15k br hack note *: these diodes must be schottky diodes. note *: these diodes must be schottky diodes.
b-50 DSP56001 motorola 330 w 470k w 20.5 mhz 10 pf 10 pf ? ? ? xtal extal ? figure b-5. alternative clock circuit from the graphic equalizer (apr2) figure b-5 shows an alternative clock oscillator circuit used in the graphic equalizer application note (apr2). the 330 w resis- tor provides additional current limiting in the crystal. figure b-6 shows a circuit which waits until vcc on the dsp is at least 4.5 v before initiating a 3.75 ms minimum (150,000t) oscillator stabili- zation delay required for the on-chip oscillator (only 50t is re- quired for an external oscillator). this insures that the dsp is op- erational and stable before releasing the reset signal. ? ? reset ? 1.2 v ref + - ?? ? +5v ? mc34064 ? ? ? u1 mc33064 2 (2) 3 (4) 1 (1) c dly r t dly = rc dly in 1 1 - v th v in - v ol t dly = 150,000t min. v in = 5 v r = 8.2k + 5% f osc = 20.5 mhz v th = 2.5 v v ol = 0.4 v c dly = 1 m f + 20% t = 25 ns where: figure b-6. reset circuit using mc34064/mc33064 2. moda and modb notes: 1. irqa and irqb must be hardwired. must be hard wired. logic reset ?
b-51 DSP56001 motorola figure 7 illustrates how to connect a 20 ns static ram with a 33 mhz. DSP56001. the important parameters are t dw < 10 ns, t doe < 10 ns, and t aa = 20 ns maximum. a 7.5 ns pld is used to minimize decoding delays. this example maps the static ram into the ranges x:$1000-1fff and y:$1000-1fff. the pld equation is: ram_enable = ps & !ds & !a15 & !a14 & !a13 & !a12 16l8-7 7.5ns pld data address oe wr cs data address ds ps rd wr mcm6264d (8k x 8) 20 ns DSP56001 27 mhz figure b-7. 27 mhz DSP56001 with 20 ns sram a12 a13 a14 a15 4 5 6 7 8 9 ds ps 12 e ram_enable
b-52 DSP56001 motorola figure b-8 shows the DSP56001 connected to the bus of an ibm-pc computer. the pal equations and other details of this circuit are available in an isa bus interface for the DSP56001 which is provided on request by the motorola dsp marketing department (512-891-2030). figure b-8. DSP56001-to-isa bus interface schematic ha0 ha1 ha2 hen hr/w moda/irqa modb/irqb reset d23 br hreq hack b11 d01 d02 d03 d04 d05 d06 a02 a01 a00 d07 a10 a11 b5 a4 a9 a5 21 23 l13 b10 13 b4 d00 a09 a08 a07 a06 a05 a04 a03 a02 a29 a30 a31 1 5 14 2 6 16 22 8 4 17 7 3 9 osc a04 a05 a06 a07 a08 a09 a14 a17 a22 a23 a24 a25 a26 a27 b30 mc74act245 pal22v10 note: connector is j1 of isa bus h7 h6 h5 h4 h3 h2 h1 h0 all series resistors 15k ohms +5v 10 11 aen ior iow b13 b14 a11 15 DSP56001 a12 b12 a13 b13 c12 c13 d12 9 8 6 7 5 4 3 2 b8 a8 a7 11 12 14 13 15 16 17 18 19 1 oe dir irqb irqa
c-53 DSP56001 motorola org x:$100 ; m_00 dc $7d7c00 ; 8031 m_01 dc $797c00 ; 7775 m_02 dc $757c00 ; 7519 m_03 dc $717c00 ; 7263 m_04 dc $6d7c00 ; 7007 m_05 dc $697c00 ; 6751 m_06 dc $657c00 ; 6495 m_07 dc $617c00 ; 6239 m_08 dc $5d7c00 ; 5983 m_09 dc $597c00 ; 5727 m_0a dc $557c00 ; 5471 m_0b dc $517c00 ; 5215 m_0c dc $4d7c00 ; 4959 m_0d dc $497c00 ; 4703 m_0e dc $457c00 ; 4447 m_0f dc $417c00 ; 4191 m_10 dc $3e7c00 ; 3999 m_11 dc $3c7c00 ; 3871 m_12 dc $3a7c00 ; 3743 m_13 dc $387c00 ; 3615 m_14 dc $367c00 ; 3487 m_15 dc $347c00 ; 3359 m_16 dc $327c00 ; 3231 m_17 dc $307c00 ; 3103 m_18 dc $2e7c00 ; 2975 m_19 dc $2c7c00 ; 2847 m_1a dc $2a7c00 ; 2719 m_1b dc $287c00 ; 2591 m_1c dc $267c00 ; 2463 m_1d dc $247c00 ; 2335 m_1e dc $227c00 ; 2207 m_1f dc $207c00 ; 2079 m_20 dc $1efc00 ; 1983 m_21 dc $1dfc00 ; 1919 m_22 dc $1cfc00 ; 1855 m_23 dc $1bfc00 ; 1791 m_24 dc $1afc00 ; 1727 m_25 dc $19fc00 ; 1663 m_26 dc $18fc00 ; 1599 m_27 dc $17fc00 ; 1535 m_28 dc $16fc00 ; 1471 m_29 dc $15fc00 ; 1407 m_2a dc $14fc00 ; 1343 m_2b dc $13fc00 ; 1279 m_2c dc $12fc00 ; 1215 m_2d dc $11fc00 ; 1151 m_2e dc $10fc00 ; 1087 m_2f dc $0ffc00 ; 1023 m_30 dc $0f3c00 ; 975 m_31 dc $0ebc00 ; 943 m_32 dc $0e3c00 ; 911 m_33 dc $0dbc00 ; 879 m_34 dc $0d3c00 ; 847 m_35 dc $0cbc00 ; 815 m_36 dc $0c3c00 ; 783 m_37 dc $0bbc00 ; 751 m_38 dc $0b3c00 ; 719 m_39 dc $0abc00 ; 687 m_3a dc $0a3c00 ; 655 m_3b dc $09bc00 ; 623 m_3c dc $093c00 ; 591 m_3d dc $08bc00 ; 559 m_3e dc $083c00 ; 527 m_3f dc $07bc00 ; 495 m_40 dc $075c00 ; 471 m_41 dc $071c00 ; 455 m_42 dc $06dc00 ; 439 m_43 dc $069c00 ; 423 m_44 dc $065c00 ; 407 m_45 dc $061c00 ; 391 m_46 dc $05dc00 ; 375 m_47 dc $059c00 ; 359 m_48 dc $055c00 ; 343 m_49 dc $051c00 ; 327 m_4a dc $04dc00 ; 311 m_4b dc $049c00 ; 295 m_4c dc $045c00 ; 279 m_4d dc $041c00 ; 263 m_4e dc $03dc00 ; 247 m_4f dc $039c00 ; 231 m_50 dc $036c00 ; 219 m_51 dc $034c00 ; 211 m_52 dc $032c00 ; 203 m_53 dc $030c00 ; 195 m_54 dc $02ec00 ; 187 m_55 dc $02cc00 ; 179 m_56 dc $02ac00 ; 171 m_57 dc $028c00 ; 163 m_58 dc $026c00 ; 155 m_59 dc $024c00 ; 147 m_5a dc $022c00 ; 139 m_5b dc $020c00 ; 131 m_5c dc $01ec00 ; 123 m_5d dc $01cc00 ; 115 m_5e dc $01ac00 ; 107 m_5f dc $018c00 ; 99 m_60 dc $017400 ; 93 m_61 dc $016400 ; 89 m_62 dc $015400 ; 85 m_63 dc $014400 ; 81 m_64 dc $013400 ; 77 m_65 dc $012400 ; 73 m_66 dc $011400 ; 69 m_67 dc $010400 ; 65 m_68 dc $00f400 ; 61 m_69 dc $00e400 ; 57 m_6a dc $00d400 ; 53 m_6b dc $00c400 ; 49 m_6c dc $00b400 ; 45 m_6d dc $00a400 ; 41 m_6e dc $009400 ; 37 m_6f dc $008400 ; 33 m_70 dc $007800 ; 30 m_71 dc $007000 ; 28 m_72 dc $006800 ; 26 m_73 dc $006000 ; 24 m_74 dc $005800 ; 22 m_75 dc $005000 ; 20 m_76 dc $004800 ; 18 m_77 dc $004000 ; 16 m_78 dc $003800 ; 14 m_79 dc $003000 ; 12 m_7a dc $002800 ; 10 m_7b dc $002000 ; 8 m_7c dc $001800 ; 6 m_7d dc $001000 ; 4 m_7e dc $000800 ; 2 m_7f dc $000000 ; 0 appendix c mu-law / a-law expansion tables figure c-1. mu-law/a-law expansion table contents (sheet 1 of 2)
c-54 DSP56001 motorola a_80 dc $158000 ; 688 a_81 dc $148000 ; 656 a_82 dc $178000 ; 752 a_83 dc $168000 ; 720 a_84 dc $118000 ; 560 a_85 dc $108000 ; 528 a_86 dc $138000 ; 624 a_87 dc $128000 ; 592 a_88 dc $1d8000 ; 944 a_89 dc $1c8000 ; 912 a_8a dc $1f8000 ; 1008 a_8b dc $1e8000 ; 976 a_8c dc $198000 ; 816 a_8d dc $188000 ; 784 a_8e dc $1b8000 ; 880 a_8f dc $1a8000 ; 848 a_90 dc $0ac000 ; 344 a_91 dc $0a4000 ; 328 a_92 dc $0bc000 ; 376 a_93 dc $0b4000 ; 360 a_94 dc $08c000 ; 280 a_95 dc $084000 ; 264 a_96 dc $09c000 ; 312 a_97 dc $094000 ; 296 a_98 dc $0ec000 ; 472 a_99 dc $0e4000 ; 456 a_9a dc $0fc000 ; 504 a_9b dc $0f4000 ; 488 a_9c dc $0cc000 ; 408 a_9d dc $0c4000 ; 392 a_9e dc $0dc000 ; 440 a_9f dc $0d4000 ; 424 a_a0 dc $560000 ; 2752 a_a1 dc $520000 ; 2624 a_a2 dc $5e0000 ; 3008 a_a3 dc $5a0000 ; 2880 a_a4 dc $460000 ; 2240 a_a5 dc $420000 ; 2112 a_a6 dc $4e0000 ; 2496 a_a7 dc $4a0000 ; 2368 a_a8 dc $760000 ; 3776 a_a9 dc $720000 ; 3648 a_aa dc $7e0000 ; 4032 a_ab dc $7a0000 ; 3904 a_ac dc $660000 ; 3264 a_ad dc $620000 ; 3136 a_ae dc $6e0000 ; 3520 a_af dc $6a0000 ; 3392 a_b0 dc $2b0000 ; 1376 a_b1 dc $290000 ; 1312 a_b2 dc $2f0000 ; 1504 a_b3 dc $2d0000 ; 1440 a_b4 dc $230000 ; 1120 a_b5 dc $210000 ; 1056 a_b6 dc $270000 ; 1248 a_b7 dc $250000 ; 1184 a_b8 dc $3b0000 ; 1888 a_b9 dc $390000 ; 1824 a_ba dc $3f0000 ; 2016 a_bb dc $3d0000 ; 1952 a_bc dc $330000 ; 1632 a_bd dc $310000 ; 1568 a_be dc $370000 ; 1760 a_bf dc $350000 ; 1696 a_c0 dc $015800 ; 43 a_c1 dc $014800 ; 41 a_c2 dc $017800 ; 47 a_c3 dc $016800 ; 45 a_c4 dc $011800 ; 35 a_c5 dc $010800 ; 33 a_c6 dc $013800 ; 39 a_c7 dc $012800 ; 37 a_c8 dc $01d800 ; 59 a_c9 dc $01c800 ; 57 a_ca dc $01f800 ; 63 a_cb dc $01e800 ; 61 a_cc dc $019800 ; 51 a_cd dc $018800 ; 49 a_ce dc $01b800 ; 55 a_cf dc $01a800 ; 53 a_d0 dc $005800 ; 11 a_d1 dc $004800 ; 9 a_d2 dc $007800 ; 15 a_d3 dc $006800 ; 13 a_d4 dc $001800 ; 3 a_d5 dc $000800 ; 1 a_d6 dc $003800 ; 7 a_d7 dc $002800 ; 5 a_d8 dc $00d800 ; 27 a_d9 dc $00c800 ; 25 a_da dc $00f800 ; 31 a_db dc $00e800 ; 29 a_dc dc $009800 ; 19 a_dd dc $008800 ; 17 a_de dc $00b800 ; 23 a_df dc $00a800 ; 21 a_e0 dc $056000 ; 172 a_e1 dc $052000 ; 164 a_e2 dc $05e000 ; 188 a_e3 dc $05a000 ; 180 a_e4 dc $046000 ; 140 a_e5 dc $042000 ; 132 a_e6 dc $04e000 ; 156 a_e7 dc $04a000 ; 148 a_e8 dc $076000 ; 236 a_e9 dc $072000 ; 228 a_ea dc $07e000 ; 252 a_eb dc $07a000 ; 244 a_ec dc $066000 ; 204 a_ed dc $062000 ; 196 a_ee dc $06e000 ; 220 a_ef dc $06a000 ; 212 a_f0 dc $02b000 ; 86 a_f1 dc $029000 ; 82 a_f2 dc $02f000 ; 94 a_f3 dc $02d000 ; 90 a_f4 dc $023000 ; 70 a_f5 dc $021000 ; 66 a_f6 dc $027000 ; 78 a_f7 dc $025000 ; 74 a_f8 dc $03b000 ; 118 a_f9 dc $039000 ; 114 a_fa dc $03f000 ; 126 a_fb dc $03d000 ; 122 a_fc dc $033000 ; 102 a_fd dc $031000 ; 98 a_fe dc $037000 ; 110 a_ff dc $035000 ; 106 figure c-1. mu-law/a-law expansion table contents (sheet 2 of 2)
d-55 DSP56001 motorola this sine wave table is normally used by fft routines which use bit reversed address pointers. this table can be used as it is for up to 512 point ffts; however, for larger ffts, the table must be copied to a different memory location to allow the reverse-carry address- ing mode to be used (see section 5.3.2.3 reverse-carry modifier (mn=$0000) in the dsp56000/DSP56001 digital signal processor users manual for additional information). appendix d sine wave table org y:$100 ; s_00 dc $000000 ; +0.0000000000 s_01 dc $03242b ; +0.0245412998 s_02 dc $0647d9 ; +0.0490676016 s_03 dc $096a90 ; +0.0735644996 s_04 dc $0c8bd3 ; +0.0980170965 s_05 dc $0fab27 ; +0.1224106997 s_06 dc $12c810 ; +0.1467303932 s_07 dc $15e214 ; +0.1709619015 s_08 dc $18f8b8 ; +0.1950902939 s_09 dc $1c0b82 ; +0.2191012055 s_0a dc $1f19f9 ; +0.2429800928 s_0b dc $2223a5 ; +0.2667128146 s_0c dc $25280c ; +0.2902846038 s_0d dc $2826b9 ; +0.3136816919 s_0e dc $2b1f35 ; +0.3368898928 s_0f dc $2e110a ; +0.3598949909 s_10 dc $30fbc5 ; +0.3826833963 s_11 dc $33def3 ; +0.4052414000 s_12 dc $36ba20 ; +0.4275551140 s_13 dc $398cdd ; +0.4496113062 s_14 dc $3c56ba ; +0.4713967144 s_15 dc $3f174a ; +0.4928981960 s_16 dc $41ce1e ; +0.5141026974 s_17 dc $447acd ; +0.5349975824 s_18 dc $471ced ; +0.5555701852 s_19 dc $49b415 ; +0.5758082271 s_1a dc $4c3fe0 ; +0.5956993103 s_1b dc $4ebfe9 ; +0.6152315736 s_1c dc $5133cd ; +0.6343932748 s_1d dc $539b2b ; +0.6531729102 s_1e dc $55f5a5 ; +0.6715589762 s_1f dc $5842dd ; +0.6895405054 s_20 dc $5a827a ; +0.7071068287 s_21 dc $5cb421 ; +0.7242470980 s_22 dc $5ed77d ; +0.7409511805 s_23 dc $60ec38 ; +0.7572088242 s_24 dc $62f202 ; +0.7730104923 s_25 dc $64e889 ; +0.7883464098 s_26 dc $66cf81 ; +0.8032075167 s_27 dc $68a69f ; +0.8175848722 s_28 dc $6a6d99 ; +0.8314697146 s_29 dc $6c2429 ; +0.8448535204 s_2a dc $6dca0d ; +0.8577286005 s_2b dc $6f5f03 ; +0.8700870275 s_2c dc $70e2cc ; +0.8819212914 s_2d dc $72552d ; +0.8932244182 s_2e dc $73b5ec ; +0.9039893150 s_2f dc $7504d3 ; +0.9142097235 s_30 dc $7641af ; +0.9238795042 s_31 dc $776c4f ; +0.9329928160 s_32 dc $788484 ; +0.9415441155 s_33 dc $798a24 ; +0.9495282173 s_34 dc $7a7d05 ; +0.9569402933 s_35 dc $7b5d04 ; +0.9637761116 s_36 dc $7c29fc ; +0.9700313210 s_37 dc $7ce3cf ; +0.9757022262 s_38 dc $7d8a5f ; +0.9807853103 s_39 dc $7e1d94 ; +0.9852777123 s_3a dc $7e9d56 ; +0.9891765118 s_3b dc $7f0992 ; +0.9924796224 s_3c dc $7f6237 ; +0.9951847792 s_3d dc $7fa737 ; +0.9972904921 s_3e dc $7fd888 ; +0.9987955093 s_3f dc $7ff622 ; +0.9996988773 s_40 dc $7fffff ; +0.9999998808 s_41 dc $7ff622 ; +0.9996988773 s_42 dc $7fd888 ; +0.9987955093 s_43 dc $7fa737 ; +0.9972904921 s_44 dc $7f6237 ; +0.9951847792 s_45 dc $7f0992 ; +0.9924796224 s_46 dc $7e9d56 ; +0.9891765118 s_47 dc $7e1d94 ; +0.9852777123 s_48 dc $7d8a5f ; +0.9807853103 s_49 dc $7ce3cf ; +0.9757022262 s_4a dc $7c29fc ; +0.9700313210 s_4b dc $7b5d04 ; +0.9637761116 s_4c dc $7a7d05 ; +0.9569402933 s_4d dc $798a24 ; +0.9495282173 s_4e dc $788484 ; +0.9415441155 s_4f dc $776c4f ; +0.9329928160 s_50 dc $7641af ; +0.9238795042 s_51 dc $7504d3 ; +0.9142097235 s_52 dc $73b5ec ; +0.9039893150 s_53 dc $72552d ; +0.8932244182 s_54 dc $70e2cc ; +0.8819212914 s_55 dc $6f5f03 ; +0.8700870275 s_56 dc $6dca0d ; +0.8577286005 s_57 dc $6c2429 ; +0.8448535204 s_58 dc $6a6d99 ; +0.8314697146 s_59 dc $68a69f ; +0.8175848722 s_5a dc $66cf81 ; +0.8032075167 s_5b dc $64e889 ; +0.7883464098 s_5c dc $62f202 ; +0.7730104923 s_5d dc $60ec38 ; +0.7572088242 s_5e dc $5ed77d ; +0.7409511805 s_5f dc $5cb421 ; +0.7242470980 s_60 dc $5a827a ; +0.7071068287 s_61 dc $5842dd ; +0.6895405054 s_62 dc $55f5a5 ; +0.6715589762 s_63 dc $539b2b ; +0.6531729102 s_64 dc $5133cd ; +0.6343932748 s_65 dc $4ebfe9 ; +0.6152315736 s_66 dc $4c3fe0 ; +0.5956993103 s_67 dc $49b415 ; +0.5758082271 s_68 dc $471ced ; +0.5555701852 s_69 dc $447acd ; +0.5349975824 s_6a dc $41ce1e ; +0.5141026974 s_6b dc $3f174a ; +0.4928981960 s_6c dc $3c56ba ; +0.4713967144 s_6d dc $398cdd ; +0.4496113062 s_6e dc $36ba20 ; +0.4275551140 s_6f dc $33def3 ; +0.4052414000 s_70 dc $30fbc5 ; +0.3826833963 s_71 dc $2e110a ; +0.3598949909 s_72 dc $2b1f35 ; +0.3368898928 figure d-1. sine wave table contents (sheet 1 of 3)
d-56 DSP56001 motorola s_73 dc $2826b9 ; +0.3136816919 s_74 dc $25280c ; +0.2902846038 s_75 dc $2223a5 ; +0.2667128146 s_76 dc $1f19f9 ; +0.2429800928 s_77 dc $1c0b82 ; +0.2191012055 s_78 dc $18f8b8 ; +0.1950902939 s_79 dc $15e214 ; +0.1709619015 s_7a dc $12c810 ; +0.1467303932 s_7b dc $0fab27 ; +0.1224106997 s_7c dc $0c8bd3 ; +0.0980170965 s_7d dc $096a90 ; +0.0735644996 s_7e dc $0647d9 ; +0.0490676016 s_7f dc $03242b ; +0.0245412998 s_80 dc $000000 ; +0.0000000000 s_81 dc $fcdbd5 ; -0.0245412998 s_82 dc $f9b827 ; -0.0490676016 s_83 dc $f69570 ; -0.0735644996 s_84 dc $f3742d ; -0.0980170965 s_85 dc $f054d9 ; -0.1224106997 s_86 dc $ed37f0 ; -0.1467303932 s_87 dc $ea1dec ; -0.1709619015 s_88 dc $e70748 ; -0.1950902939 s_89 dc $e3f47e ; -0.2191012055 s_8a dc $e0e607 ; -0.2429800928 s_8b dc $dddc5b ; -0.2667128146 s_8c dc $dad7f4 ; -0.2902846038 s_8d dc $d7d947 ; -0.3136816919 s_8e dc $d4e0cb ; -0.3368898928 s_8f dc $d1eef6 ; -0.3598949909 s_90 dc $cf043b ; -0.3826833963 s_91 dc $cc210d ; -0.4052414000 s_92 dc $c945e0 ; -0.4275551140 s_93 dc $c67323 ; -0.4496113062 s_94 dc $c3a946 ; -0.4713967144 s_95 dc $c0e8b6 ; -0.4928981960 s_96 dc $be31e2 ; -0.5141026974 s_97 dc $bb8533 ; -0.5349975824 s_98 dc $b8e313 ; -0.5555701852 s_99 dc $b64beb ; -0.5758082271 s_9a dc $b3c020 ; -0.5956993103 s_9b dc $b14017 ; -0.6152315736 s_9c dc $aecc33 ; -0.6343932748 s_9d dc $ac64d5 ; -0.6531729102 s_9e dc $aa0a5b ; -0.6715589762 s_9f dc $a7bd23 ; -0.6895405054 s_a0 dc $a57d86 ; -0.7071068287 s_a1 dc $a34bdf ; -0.7242470980 s_a2 dc $a12883 ; -0.7409511805 s_a3 dc $9f13c8 ; -0.7572088242 s_a4 dc $9d0dfe ; -0.7730104923 s_a5 dc $9b1777 ; -0.7883464098 s_a6 dc $99307f ; -0.8032075167 s_a7 dc $975961 ; -0.8175848722 s_a8 dc $959267 ; -0.8314697146 s_a9 dc $93dbd7 ; -0.8448535204 s_aa dc $9235f3 ; -0.8577286005 s_ab dc $90a0fd ; -0.8700870275 s_ac dc $8f1d34 ; -0.8819212914 s_ad dc $8daad3 ; -0.8932244182 s_ae dc $8c4a14 ; -0.9039893150 s_af dc $8afb2d ; -0.9142097235 s_b0 dc $89be51 ; -0.9238795042 s_b1 dc $8893b1 ; -0.9329928160 s_b2 dc $877b7c ; -0.9415441155 s_b3 dc $8675dc ; -0.9495282173 s_b4 dc $8582fb ; -0.9569402933 s_b5 dc $84a2fc ; -0.9637761116 s_b6 dc $83d604 ; -0.9700313210 s_b7 dc $831c31 ; -0.9757022262 s_b8 dc $8275a1 ; -0.9807853103 s_b9 dc $81e26c ; -0.9852777123 s_ba dc $8162aa ; -0.9891765118 s_bb dc $80f66e ; -0.9924796224 s_bc dc $809dc9 ; -0.9951847792 s_bd dc $8058c9 ; -0.9972904921 s_be dc $802778 ; -0.9987955093 s_bf dc $8009de ; -0.9996988773 s_c0 dc $800000 ; -1.0000000000 s_c1 dc $8009de ; -0.9996988773 s_c2 dc $802778 ; -0.9987955093 s_c3 dc $8058c9 ; -0.9972904921 s_c4 dc $809dc9 ; -0.9951847792 s_c5 dc $80f66e ; -0.9924796224 s_c6 dc $8162aa ; -0.9891765118 s_c7 dc $81e26c ; -0.9852777123 s_c8 dc $8275a1 ; -0.9807853103 s_c9 dc $831c31 ; -0.9757022262 s_ca dc $83d604 ; -0.9700313210 s_cb dc $84a2fc ; -0.9637761116 s_cc dc $8582fb ; -0.9569402933 s_cd dc $8675dc ; -0.9495282173 s_ce dc $877b7c ; -0.9415441155 s_cf dc $8893b1 ; -0.9329928160 s_d0 dc $89be51 ; -0.9238795042 s_d1 dc $8afb2d ; -0.9142097235 s_d2 dc $8c4a14 ; -0.9039893150 s_d3 dc $8daad3 ; -0.8932244182 s_d4 dc $8f1d34 ; -0.8819212914 s_d5 dc $90a0fd ; -0.8700870275 s_d6 dc $9235f3 ; -0.8577286005 s_d7 dc $93dbd7 ; -0.8448535204 s_d8 dc $959267 ; -0.8314697146 s_d9 dc $975961 ; -0.8175848722 s_da dc $99307f ; -0.8032075167 s_db dc $9b1777 ; -0.7883464098 s_dc dc $9d0dfe ; -0.7730104923 s_dd dc $9f13c8 ; -0.7572088242 s_de dc $a12883 ; -0.7409511805 s_df dc $a34bdf ; -0.7242470980 s_e0 dc $a57d86 ; -0.7071068287 s_e1 dc $a7bd23 ; -0.6895405054 s_e2 dc $aa0a5b ; -0.6715589762 s_e3 dc $ac64d5 ; -0.6531729102 s_e4 dc $aecc33 ; -0.6343932748 s_e5 dc $b14017 ; -0.6152315736 s_e6 dc $b3c020 ; -0.5956993103 s_e7 dc $b64beb ; -0.5758082271 s_e8 dc $b8e313 ; -0.5555701852 s_e9 dc $bb8533 ; -0.5349975824 s_ea dc $be31e2 ; -0.5141026974 s_eb dc $c0e8b6 ; -0.4928981960 s_ec dc $c3a946 ; -0.4713967144 s_ed dc $c67323 ; -0.4496113062 s_ee dc $c945e0 ; -0.4275551140 s_ef dc $cc210d ; -0.4052414000 s_f0 dc $cf043b ; -0.3826833963 s_f1 dc $d1eef6 ; -0.3598949909 s_f2 dc $d4e0cb ; -0.3368898928 s_f3 dc $d7d947 ; -0.3136816919 s_f4 dc $dad7f4 ; -0.2902846038 figure d-1. sine wave table contents (sheet 2 of 3)
d-57 DSP56001 motorola s_f5 dc $dddc5b ; -0.2667128146 s_f6 dc $e0e607 ; -0.2429800928 s_f7 dc $e3f47e ; -0.2191012055 s_f8 dc $e70748 ; -0.1950902939 s_f9 dc $ea1dec ; -0.1709619015 s_fa dc $ed37f0 ; -0.1467303932 s_fb dc $f054d9 ; -0.1224106997 s_fc dc $f3742d ; -0.0980170965 s_fd dc $f69570 ; -0.0735644996 s_fe dc $f9b827 ; -0.0490676016 s_ff dc $fcdbd5 ; -0.0245412998 figure d-1. sine wave table contents (sheet 3 of 3)
e-58 DSP56001 motorola the bootstrap feature of the DSP56001 consists of four special on-chip modules: the 512 words of pram, a 32-word bootstrap rom, the bootstrap control logic, and the bootstrap firmware program. bootstrap rom this 32-word on-chip rom has been factory programmed to per- form the actual bootstrap operation from the memory expansion port (port a) or from the host interface. you have no access to the bootstrap rom other than through the bootstrap process. control logic will disable the bootstrap rom during normal oper- ations. bootstrap control logic the bootstrap mode control logic is activated when the DSP56001 is placed in operating mode 1. the control logic maps the bootstrap rom into program memory space as long as the DSP56001 remains in operating mode 1. the bootstrap firm- ware changes operating modes when the bootstrap load is com- pleted. when the DSP56001 exits the reset state in mode 1, the following actions occur. 1. the control logic maps the bootstrap rom into the inter- nal dsp program memory space starting at location $0000. this p: space is read-only. 2. the control logic forces the entire p: space to be write- only memory during the bootstrap loading process. at- tempts to read from this space will result in fetches from the read-only bootstrap rom. 3. program execution begins at location $0000 in the boot- strap rom. the bootstrap rom program is able to per- form the pram load through either the memory expan- sion port from a byte-wide external memory, or through the host interface. 4. the bootstrap rom program executes the following se- quence to end the bootstrap operation and begin your program execution. a. enter operating mode 2 by writing to the omr. this action will be timed to remove the bootstrap rom from the program memory map and re-en- able read/write access to the pram. b. the change to mode 2 is timed exactly to allow the boot program to execute a single cycle in- struction then a jmp #00 and begin execution of the program at location $0000. you may also select the bootstrap mode by writing operating mode 1 into the omr. this initiates a timed operation to map the bootstrap rom into the program address space after a delay to allow execution of a single cycle instruction and then a jmp #<00 (e.g., see bootstrap code for DSP56001) to begin the boot- strap process as described above in steps 1-4. this technique allows the DSP56001 user to reboot the system (with a different program if desired). bootstrap firmware program bootstrap rom contains the bootstrap firmware program that performs initial loading of the DSP56001 pram. the program is written in dsp56000/DSP56001 assembly language. it contains two separate methods of initializing the pram: loading from a byte-wide memory starting at location p:$c000 or loading through the host interface. the particular method used is select- ed by the level of program memory location $c000, bit 23. if lo- cation p:$c000, bit 23 is read as a one, the external bus version of the bootstrap program will be selected. typically, a byte wide eprom will be connected to the DSP56001 address and data bus as shown in figure b-1 of the applications examples given in appendix b applications examples . the data con- tents of the eprom must be organized as shown below. address of external contents loaded byte wide p memory to internal pram at: p:$c000 p:$0000 low byte p:$c001 p:$0000 mid byte p:$c002 p:$0000 high byte ?? ?? ?? p:$c5fd p:$01ff low byte p:$c5fe p:$01ff mid byte p:$c5ff p:$01ff high byte if location p:$c000, bit 23 is read as a zero, the host interface version of the bootstrap program will be selected. typically a host microprocessor will be connected to the DSP56001 host in- terface. the host microprocessor must write the host interface registers thx, txm, and then tsl with the desired contents of pram from location p:$0000 up to p:$01ff. if less than 512 words are to be loaded, the host programmer can exit the boot- strap program and force the DSP56001 to begin executing at lo- cation p:$0000 by setting hf0=1 in the host interface during the bootstrap load. in most systems, the DSP56001 responds so fast that handshaking between the DSP56001 and the host is not necessary. the bootstrap program is shown in flowchart form in figure e-1 and in assembler listing format in figure e-2. appendix e bootstrap mode operating mode 1
e-59 DSP56001 motorola initialize address registers r0=0 r1=$c000 r2=$ffe9 get p:$c000 bit 23 and put it in the carry flag was p:$c000 bit 23 =0? set l flag = 1 (indicates a boot from external memory was selected) start do loop, 512 iterations do 3 times (get 8-bit data and shift into 24-bit word) is l flag =0? get 8-bit data from p memory put i n a2, increment r1 shift 8 bits from a3 into accumulator a1s 8 msbs move a1 into next internal p memory location. increment r0 pointer. set operating mode to mode 2 enable host interface logic is host flag 0 =0? is the host receive flag = 0? put data from host receive data register into accumulator a1 jump to p:0 enddo finished 512 loops? clear status register finished 3 loops? y y y y y y n n n n n n host interface repeat until 512 program words have been loaded load from external load from host stop boot load data available continue loading wait for repeat until 24-bit data is in a1 external memory host to fill input register interface memory figure e-1. bootstrap program flowchart start
e-60 DSP56001 motorola motorola dsp56000 macro cross assembler version 2.00 87-08-23 09:57:46 bootcode.asm page 1 1 page 132,50,0,10 2 ; bootstrap source code for DSP56001 - (c) copyright 1986 motorola inc. 4 ; host algorithm / and / external bus method 6 ; this is the bootstrap source code contained in the DSP56001 32 word boot rom. 7 ; this program can load the internal program memory from one of two external sources. 8 ; the program reads p:$c000 bit 23 to decide which external source to access. if 9 ; p:$c000 bit 23 = 0 then it loads internal pram from h0-h7, using the host interface 10 ; logic. if p:$c000 bit 23 = 1 then it loads from 1,536 consecutive byte-wide p: 11 ; memory locations (starting at p:$c000). 13 0000c000 boot equ $c000 ; the location in p: memory 14 ; where the external byte-wide 15 ; eprom is expected to be mapped. 16 17 p:0000 org pl:$0 ; bootstrap code starts at p:$0 18 19 p:0000 62f400 start move #$ffe9,r2 ; r2 = address of the host 00ffe9 20 ; interface status register. 21 p:0002 61f400 move #boot,r1 ; r1 = starting p: address of 00c000 22 ; external bootstrap byte-wide rom. 23 p:0004 300000 move #0,r0 ; r0 = starting p: address of 24 ; internal memory where program 25 ; will begin loading. 26 27 p:0005 07e18c move p:(r1),al ; get the data at p:$c000 28 p:0006 200037 rol a ; shift bit 23 into the carry flag 29 p:0007 0e0009 jcc e-61 DSP56001 motorola motorola dsp56000 macro cross assembler version 2.00 87-08-23 09:57:46 bootcode.asm page 2 35 ; to bootstrap operating mode, make certain that the l bit is cleared and registers m0 36 ; and m1have been set to $ffff. also, make sure the bcr is set to $xxfx since 37 ; eproms are slow and bcr is set to $ffff after a reset. if the l bit was set before 38 ; changing modes, the program will load from external program memory. 39 40 p:0008 0040f9 ori #$40,ccr ; set the l bit to indicate 41 ; that the bootstrap program 42 ; is being loaded from the 43 ; external p: space. 44 45 ; the first routine will load 1,536 bytes from the external p: memory space beginning 46 ; at p:$c000 (bits 7-0). these will be packed into 512 24-bit words and stored in 47 ; contiguous internal pram memory locations starting at p:$0. 48 49 ; the shifter moves the 8-bit input data from register a2 into register a1 eight bits 50 ; at a time. after assembling one 24-bit word (this takes three loops) it stores the 51 ; result in internal pram and continues until internal pram is filled. note that the 52 ; first routine loads data starting with the least significant byte of p:$0 first. 53 54 ; the second routine loads the internal pram using the host interface logic. 55 ; if the host only wants to load a portion of the pram, the host interface bootstrap 56 ; load program can be aborted and execution of the loaded program started, by setting 57 ; the host flag (hf0) = 1 at any time during the load from the host processor. 58 59 p:0009 060082 inloop d0 #512,_loop1 ; load 512 instruction words. 00001b 60 61 ; this is the context switch 62 63 p:000b 0e6012 jlc < _hostld ; load from the host interface 64 ; if the limit flag is clear. 65 66 ; this is the first routine. it loads from external p: memory. 67 68 p:000c 060380 do #3, _loop2 ; each instruction has 3 bytes. 000010 figure e-2. assembler listing for bootstrap program (sheet 2 of 3)
e-62 DSP56001 motorola motorola dsp56000 macro cross assembler version 2.00 87-08-23 09:57:46 bootcode.asm page 3 69 p:000e 07d98a move p:(r1)+,a2 ; get the 8 lsb from external 70 ; p: memory. 71 p:000f 0608a0 rep #8 ; shift 8 bit data into a1 72 p:0010 200022 asr a 73 _loop2 ; get another byte 74 p:0011 0c001b jmp < _store ; then put the word in pram. 75 76 ; this is the second routine. it loads from the host interface pins. 77 78 p:0012 0aa020 _hostld bset #0,x:$ffe0 ; configure port b as host interface 79 p:0013 0aa983 _lbla jclr #3,x:$ffe9, _lblb ; if hf0=1, stop loading data. 000017 80 p:0015 00008c enddo ; must terminate the do loop 81 p:0016 0c001c jmp <_bootend 82 83 p:0017 0a6280 _lblb jclr #0,x:(r2), _lbla ; wait for hrdf to go high 000013 84 ; (meaning 24-bit data is present) 85 p:0019 54f000 move x:$ffeb,a1 ; put 24-bit host data in a1 00ffeb 86 87 p:001b 07588c _store move a1,p:(r0)+ ; store 24-bit result in pram. 88 89 _loop1 ; and return for another 24-bit word 90 91 ; this is the exit handler that returns execution to normal expanded mode 92 ; and jumps to the reset location. 93 94 p:001c 0502ba _bootend movec #2,0mr ; set the operating mode to 2 95 ; (and trigger an exit from 96 ; bootstrap mode). 97 p:001d 0000b9 andi #$0,ccr ; clear sr as if reset and 98 ; introduce delay needed for 99 ; op. mode change. 100 p:001e 0c0000 jmp <$0 ; start fetching from pram p:$0000 101 motorola dsp56000 macro cross assembler version 2.00 87-08-23 09:57:46 bootcode.asm page 4 0 errors 0 warnings figure e-2. assembler listing for bootstrap program (sheet 3 of 3)
e-63 DSP56001 motorola
motorola reserves the right to make changes without further notice to any products herein. motorola makes no warranty, represen tation or guarantee regarding the suitability of its products for any particular purpose, nor does motorola assume any liability arising out of the applicati on or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. typical param eters can and do vary in different ap- plications. all operating parameters, including typicals must be validated for each customer application by customers techni cal experts. motorola does not convey any license under its patent rights nor the rights of others. motorola products are not designed, intended, or authorize d for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other applic ation in which the failure of the motorola product could create a situation where personal injury or death may occur. should buyer purchase or use motorola products for a ny such unintended or unau- thorized application, buyer shall indemnify and hold motorola and its officers, employees, subsidiaries, affiliates, and distri butors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that motorola was negligent regarding the design or manufacture of t he part. motorola and m are registered trademarks of motorola, inc. motorola, inc. is an equal opportunity/affirmative action employer. literature distribution centers: usa: motorola literature distribution; p.o. box 20912; phoenix, arizona 85036. europe: motorola ltd.; european literature center; 88 tanners drive, blakelands, milton keynes, mk14 5bp, england. japan: nippon motorola ltd.; 4-32-1, nishi-gotanda, shinagawa-ku, tokyo 141 japan. asia-pacific: motorola semiconductors h.k. ltd.; silicon harbor center, no. 2 dai king street, tai po industrial estate, tai po, n.t., hong kong.


▲Up To Search▲   

 
Price & Availability of DSP56001

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X